Uploaded image for project: 'Runtime'
  1. Runtime
  2. RUNTIME-2396

URLEncoder.encode should not to be used to encode path

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 2.8.2, 4.0RC4
    • 2.8.1, 4.0RC3
    • None
    • None

      org.ametys.runtime.util.URLEncoder.encode should be deprecated (and remove in v4.0)

      Replace by 2 methods:

      • encodePath to encode path (before question mark) using java.net.URI.URI constructor
      • encodeParameter to encode parameters (after question mark)

            Unassigned Unassigned
            laurence Laurence Aumeunier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: