Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-71557

Download button in document info can't directly download file if portal.proxy.path is configured

    Details

      Description

      Steps to reproduce:
      1. Configure apache as the followings in httpd.conf:
      ProxyPreserveHost On
      ProxyPass /abc http://localhost:8080
      ProxyPassReverse /abc http://localhost:8080
      2. Set portal.proxy.path=/abc in portal-ext.properties.
      3. Use url "http://localhost/abc" to access portal.
      3. Add a Documents and Media portlet on homepage, and upload any file (I used a txt file).
      4. Click the check box on the document > click the little "i" button in the top right (info).
      5. Click the Download button.

      Actual Result
      File is opened by browser, after refreshing the page, the content is served as a download.
      Expected Results
      File is served as a downloadable file.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                summer.zhang Summer Zhang
                Reporter:
                summer.zhang Summer Zhang
                Participants of an Issue:
                Recent user:
                Csaba Turcsan
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  3 years, 18 weeks, 2 days ago

                  Packages

                  Version Package
                  7.0.0 DXP FP14
                  7.0.0 DXP SP3
                  7.0.3 CE GA4
                  7.0.X EE
                  7.1.X
                  Master