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

Cannot purge multiple X-Location-Id content

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Medium Medium
    • None
    • 5.4.5, 1.5.0, 1.6.0
    • Caching
    • None

    Description

      The implementation of the resolution of #EZP-24854 is breaking the http purge in case the controllers use several X-Location-Id.

      curl -I http://mysite.com/myaction
      
      HTTP/1.1 200 OK
      Content-Type: text/html; charset=UTF-8
      Cache-Control: public, s-maxage=31536000
      X-Location-Id: 65,6454,7237,12324787
      

      BAN request for 7237:

      X-Location-Id: ^(978687|123|7987|7237)$ 
      

      => The BAN request won't match the content delivered from /myaction.

      I guess the issue raised in #EZP-24854 would be easier to tackle from varnish configuration.

      Is it possible to revert the commit?

      Attachments

        Activity

          People

            Unassigned Unassigned
            7dfa243b-aa18-410c-99e2-fc748bfb43a8@accounts.ibexa.co Support Kaliop
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated: