Details
-
Bug
-
Status: Closed
-
Low
-
Resolution: Fixed
-
2.24.01
-
None
-
None
Description
RestProxyServicePlugin.java has the following:
// Make sure that it is URL encoded correctly, except for the '/' and ':' characters
normalizedPingServiceUri = URLEncoder.encode(pingServiceUri, Charset.defaultCharset().name())
.replaceAll("%2F", "/").replaceAll("%3A", ":");
Note that it uses 'Charset.defaultCharset().name() instead of one of the standard charsets such as ISO-8859-1 or UTF-8.
In my local env, Charset.defaultCharset().name() returns 'MacRoman'.
Even if this doesn't make a problem for now, I think it should have used either 'UTF-8' or 'ISO-8859-1' or removed #encode() call (the replaceAll() calls doesn't look neat).
[1] http://docs.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html
Attachments
Issue Links
- relates to
-
CMS-8003 Support channels to be loaded by the webapp that manages them
- Closed