Uploaded image for project: 'Tapestry'
  1. Tapestry
  2. TAPESTRY-1161

encodeURL is not working if context.xml is configured with cookies=false

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.1, 4.1.1
    • 4.1.1
    • Framework
    • None

    Description

      Tapestry version 4.1 and later do not encode the session id into the url (via response.encodeURL) if the setting "cookies" of context.xml is set to false. I've created a simple test app and put a context.xml into the META-INF folder:

      <?xml version="1.0" encoding="UTF-8"?>
      <Context cookies="false">
      <WatchedResource>WEB-INF/web.xml</WatchedResource>
      <WatchedResource>META-INF/context.xml</WatchedResource>
      </Context>

      If I build the project with 4.0.2, the session id is encoded into ech request. But if I switch to 4.1 or 4.1.1-SNAPSHOT, the session id is not encoded into each reqest.

      Attachments

        Activity

          People

            jkuhnert Jesse Kuhnert
            cmittendorf Christian Mittendorf
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: