Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-21343

ContentStructureMenu cookie causes http request problems and breaks RFC 2965

    Details

      Description

      with a content structure large enough, the cookie ContentStructureMenu will grow bigger than the 4096 char defined in RFC 2965.

      there is a new standard, RFC 6265 that changes the cookies requirements, it deprecates the previous stardard, but the release of 6265 is still too young to apply to many browsers, proxies, firewalls and other software that is expecting cookies with maximum of 4k size.

      to reproduce:
      1 - create 5 folders below root
      2 - create 5 more inside the each of first five
      3 - repeat until level 5

      open firebug or favourite cookie watch tool:
      keep watching the ContentStructureMenu cookie. start opening folders*, select folders each time deeper and deeper in diferent trees. watch how the cookie stores all the open trees.

      • note: do close close the folders, or they will be removed from the cookie.

      eventually, with a large and deep enough structure, the cookie will grow beyond 4096 chars, which can cause the cookie to be blocked by browsers, webservers, proxies, etc.

        Issue Links

          Activity

          Show
          Patrick Allaert (Inactive) added a comment - Pull request at: https://github.com/ezsystems/ezpublish-legacy/pull/708
          Show
          Patrick Allaert (Inactive) added a comment - Fixed in: eZ Publish master (merge commit): https://github.com/ezsystems/ezpublish-legacy/commit/8332f9d1424b28ba155d124aebd06096595d18f7 eZ Publish master: https://github.com/ezsystems/ezpublish-legacy/commit/99c5de8e567d6165483e32ae8e28e3cab284ac34
          Hide
          Patrick Allaert (Inactive) added a comment -

          Merging and backporting

          Show
          Patrick Allaert (Inactive) added a comment - Merging and backporting

            People

            • Assignee:
              Unassigned
              Reporter:
              Paulo Bras (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 days, 3 hours, 32 minutes
                2d 3h 32m