Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-852

Encoding of URLs is not coherent in UTF-8 environment

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Major
    • None
    • 1.0 B3, 1.0 B4, 1.0 B5, 1.0 B6
    • Localization
    • None
    • Mac OS X and Linux, tomcat 5 (more specifically enhydra 7.0), UTF-8 environment
    • UTF-8, encoding, URL

    Description

      To reproduce the bug, use an UTF-8 instance of xwiki and create a page containing non ascii characters (e.g. été)

      The form redirects the user to:
      http://localhost:8080/xwiki/bin/edit/Main/%C3%A9t%C3%A9?template=&parent=&title=%E9t%E9

      As you can see, été has been transformed :
      1. into %C3%A9t%C3%A9 (which correspond to the UTF-8 encoding)
      2. into %E9t%E9 (which correspond to ISO-8859-1 encoding)

      This issue relates partly to XWIKI-822, but it is more specific and is crucial in UTF-8 (or rather non-latin1) environments.

      Gilles,

      Attachments

        Activity

          People

            vmassol Vincent Massol
            serasset Gilles Sérasset
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: