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

Wrong decoding url when character is encoded on two bytes

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Minor
    • 2.2-beta-1
    • 2.0.1.GA
    • None
    • 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 ã.

      Attachments

        Activity

          People

            patriot1burke@gmail.com Bill Burke (Inactive)
            pawelwlodarski Pawel Wlodarski (Inactive)
            Votes:
            5 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: