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

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24631

Struts tags use bytes of UTF-8 for urlencoding unconditionally

[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|Enhancement                 |Normal



------- Additional Comments From [EMAIL PROTECTED]  2003-11-13 08:54 -------
I read over the HTML related specifications and I now believe this actually is 
a bug rather than enhancemant. UTF-8 is, in fact, not recommended as 
characterEncoding for bytes of URLEncoding anywhere. RFC2141 does require UTF-8 
as character encoding for the bytes of URLEncoding, but HTML URI syntax is not 
bound to it (uri in HTML is bound to RFC2398, which does not mandate nor 
recommend UTF-8 as character encoding). 

Many people seem to misunderstand appendix B.2.1 of HTML4.01 specification as 
recommendation of using UTF-8 bytes for URLEoncoding but what it says is 
how 'user agents' should handle malformed url that contains non-ascii 
character, and it has no relavance to how the server should urlencode non-ascii 
character.

The impact of this bug seem to be quite serious. It required considerable 
design change to some applications, as there is no 'easy' work around.

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

Reply via email to