You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@jmeter.apache.org by bu...@apache.org on 2012/06/08 18:34:15 UTC

[Bug 45132] java.net.URLDecoder can not decode post data sent from microsoft ie 7.0 well

https://issues.apache.org/bugzilla/show_bug.cgi?id=45132

--- Comment #4 from Sebb <se...@apache.org> ---
(In reply to comment #0)
> 
> Given a unicode character (codepoint: \u5A77) and its double-byte
> representation 0xB4 0x40 in Cp950/Big5, the microsoft internet explorer 7.0
> in asian versions of windows will encode this character to a url-encoded
> string "%B4@". This result is correct according to RFC-1738 since the @ (at)
> is a reserved character.

RFC-1738 section 2.2 (towards the end) says:

   Thus, only alphanumerics, the special characters "$-_.+!*'(),", and
   reserved characters used for their reserved purposes may be used
   unencoded within a URL.

In this case, the "@" is not being used for its reserved purpose, and therefore
must be encoded - if it is being used in a URL.

RFC-1738 only addresses URLs, so neither allows nor denies the use of "%B4@"
rather than "%B4%40" elsewhere in an HTTP request, for example in a POST body.

-- 
You are receiving this mail because:
You are the assignee for the bug.