PUBLIC - Liferay Portal Community Edition
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-29706

Doc Library Downloads On IE7 / IE8 Browsers Affected By Fix For LPS-27419

    Details

    • Similar Issues:
      Show 5 results 

      Description

      The following commit: https://github.com/mikakoivisto/liferay-portal/commit/07191c476777bb1baa53a6bf070debc174fcbd1c has led to IE7/IE8 browsers being unable to download files from the document library due to their response to the private cache control headers on our SSL Liferay installation:

      Pragma: no-cache
      Cache-Control: private
      

      Please refer to http://support.microsoft.com/kb/316431 for a write up by Microsoft on the by-design behavior.

      We noticed this change in behavior because we just upgraded from 6.0.12 EE to 6.1.20 EE GA2.

      Our current workaround is to override the behavior of the PortletResponseUtil and ServletResponseUtil classes' setHeaders(request, response, fileName, contentType) method to switch those headers over to being:

      Pragma: public
      Cache-Control: public
      

      only for IE browsers that are requesting content from the Documents directory. It does the trick but might not be the most elegant solution at this point.

        Issue Links

          Activity

          Hide
          Chris Dawson added a comment -

          This appears to be the same issue as being reported by LPS-29645 and LPS-26165

          Show
          Chris Dawson added a comment - This appears to be the same issue as being reported by LPS-29645 and LPS-26165
          Hide
          Jang Kim (Inactive) added a comment -

          Hi Chris,
          The fix was committed in LPS-29645. You can see here for diff:
          https://github.com/brianchandotcom/liferay-portal/compare/ef4c809d02...0f667ee1e1

          The solution is to remove Pragma header

          Show
          Jang Kim (Inactive) added a comment - Hi Chris, The fix was committed in LPS-29645 . You can see here for diff: https://github.com/brianchandotcom/liferay-portal/compare/ef4c809d02...0f667ee1e1 The solution is to remove Pragma header
          Hide
          Mika Koivisto added a comment -

          This is duplicate of LPS-29645

          Show
          Mika Koivisto added a comment - This is duplicate of LPS-29645

            People

            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

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

                Development

                  Structure Helper Panel