MMBase

Url escapers do not properly escape Unicode

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.7.0
  • Fix Version/s: 1.7.4
  • Component/s: Core
  • Description:
    Hide
    original bugid: #6731
    The url escapers (under org.mmbase.util) do not work properly - the string to encode is encoded to the wrong format.
    According to the specs it should encode to UTF-8, but it uses the system's encoding, resulting in wrong urls.
    I changed the code in the classes to use UTF-8 encoding.
    In 1.8, the classes were moves to the SCAN application. The transformer classes no longer use the escapers, but use java.net.URLEncoder.
    Show
    original bugid: #6731 The url escapers (under org.mmbase.util) do not work properly - the string to encode is encoded to the wrong format. According to the specs it should encode to UTF-8, but it uses the system's encoding, resulting in wrong urls. I changed the code in the classes to use UTF-8 encoding. In 1.8, the classes were moves to the SCAN application. The transformer classes no longer use the escapers, but use java.net.URLEncoder.

Activity

There are no subversion log entries for this issue yet.

People

Dates

  • Created:
    2005-07-28 11:28
    Updated:
    2006-11-24 13:52
    Resolved:
    2006-11-24 13:52