Tapestry
  1. Tapestry
  2. TAPESTRY-1161

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

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.1, 4.1.1
    • Fix Version/s: 4.1.1
    • Component/s: Framework
    • Labels:
      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.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Jesse Kuhnert
            Reporter:
            Christian Mittendorf
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development