DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39278>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39278





------- Additional Comments From [EMAIL PROTECTED]  2006-04-17 22:22 -------
After posting this bug I did some additional reading of RFC 3986 and the HTML
spec. I was using the Java classes java.net.URLEncoder/URLDecoder to
encode/decode URLs. However, what they actually do is
application/x-www-form-urlencoded encoding which encodes ' ' as '+' and then %
encodes other characters. RFC 3986, which defines the % encoding does not
specify this blank to plus encoding nor did the earlier RFCs as far as I can 
tell.

Thus the correct (though confusing) behavior seems to be to encode blanks as %20
in the path part of the URI but to encode them as + in the query string. If
someone has a different reading of the spec's please let us know.


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to