Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-13090

XWikiResponse#RemoveCookie() does not remove cookie properly

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Major
    • None
    • 7.4.1, 8.0-milestone-1
    • Old Core
    • Unknown
    • N/A
    • N/A

    Description

      Tested in Tomcat and Jetty environment, apparently the XWikiResponse#RemoveCookie() method doesn't do his job properly anymore. No Set-Cookie header is send and the cookie is therefore not updated. Creating a new Cookie object, in place of reusing the one from XWikiRequest works. Probably the servlet API does some messy optimization.

      Attachments

        Activity

          People

            vmassol Vincent Massol
            softec Denis Gervalle
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: