Uploaded image for project: 'RESTEasy'
  1. RESTEasy
  2. RESTEASY-487

Wrong decoding url when character is encoded on two bytes

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: 2.0.1.GA
    • Fix Version/s: 2.2-beta-1
    • Component/s: None
    • Labels:
      None

      Description

      In 1.2.1 URL was decoded using java URLDecoder with UTF-8.
      In 2.0.1 there is self made decode method (decodePath in Encode class).

      This method can only handle chars encoded in only one byte, and because
      for example :

      char ã in São Paulo with utf is encoded as

      %C3%A3

      RestEasy decode it to ã.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                bill.burke Bill Burke
                Reporter:
                pawelwlodarski Pawel Wlodarski
              • Votes:
                5 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: