]
Takayuki Konishi updated GTNCOMMON-24:
--------------------------------------
Attachment: surrogatepairtest.patch
FastURLDecoder cannot decode surrogate pair characters
------------------------------------------------------
Key: GTNCOMMON-24
URL:
https://issues.jboss.org/browse/GTNCOMMON-24
Project: GateIn Common
Issue Type: Bug
Reporter: Takayuki Konishi
Attachments: surrogatepairtest.patch
FastURLDecoder cannot decode surrogate pair characters.
{code}
org.gatein.common.text.MalformedInputException: Cannot decode char 'A0'
at org.gatein.common.text.FastURLDecoder.safeEncode(FastURLDecoder.java:217)
at org.gatein.common.text.AbstractCharEncoder.encode(AbstractCharEncoder.java:45)
at org.gatein.common.text.AbstractCharEncoder.encode(AbstractCharEncoder.java:62)
at
org.gatein.common.text.FastURLDecoderTestCase.testEncodeSurrogatePair(FastURLDecoderTestCase.java:159)
{code}
I also attach a patch for testcase.