ResponseCache get and put method decode original URL

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P2
    • 6
    • Affects Version/s: 6
    • Component/s: core-libs
    • None
    • generic
    • generic

      If you install a custom cache handler and implement the ResponseCache get and put method, you will find out the uri that got passed into the get and put method is decoded, if the original url contains encoded character (e.g %3a).

      e.g if you open a url connection:

      http://javaweb.sfbay/~ngthomas/getput/%3aimage/draw.jpg

      it will becomes:

      http://javaweb.sfbay/~ngthomas/getput/:image/draw.jpg

      when it get passed into ResponseCache.get and put

      testcase:

      http://javaweb.sfbay/~ngthomas/getput/HelloWorld.html

      testcase source:

      http://javaweb.sfbay/~ngthomas/getput/

      ###@###.### 2005-05-23 18:44:31 GMT

            Assignee:
            Jean-Christophe Collet (Inactive)
            Reporter:
            Thomas Ng (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: