Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-358

Properly decode URLs

    XMLWordPrintableJSON

Details

    Description

      There are places where Wicket decodes an URL and builds a Map of parameters:

      • Form.FormDispatchRequest(Request, String)
      • WebRequestWithCryptedUrl(HttpServletRequest) (deprecated class)
      • MockHttpServletRequest
      • AutoLinkResolver
      • PageParameters(String, String)
      • CryptedUrlWebRequestCodingStrategy

      Sometimes, String arrays are not properly handled. Sometimes the parameters are not URL-decoded. Sometimes the empty values are not properly handled. The idea is to remove duplicate code and provide a centralized piece of code to decode an URL.

      Attachments

        1. 20070305-wicket-1.x-decode-request-parameters.txt
          15 kB
          Jean-Baptiste Quenot
        2. 20070305-wicket-1.x-decode-request-parameters.txt
          15 kB
          Jean-Baptiste Quenot
        3. 20070305-wicket-1.x-decode-request-parameters.txt
          13 kB
          Jean-Baptiste Quenot

        Activity

          People

            jbq Jean-Baptiste Quenot
            jbq Jean-Baptiste Quenot
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: