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=4776>.
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=4776

ResponseUtils.filter() does not encode the apostrophe character





------- Additional Comments From [EMAIL PROTECTED]  2002-06-16 
14:29 -------
You are wrong, this is a bug.

' most certainly is a special character in HTML, just the same way as " is a 
special character. If ' is not a special character, then " is not either, and 
this function is buggy because it encodes it. But of course, " is a special 
character, that is encoded by this function, and therefore ' is too. So the 
function is buggy from this point of view also.

If it were altered to encode ' also, this could not possibly break anything 
(just as it could not break anything if it encoded *all* characters, it would 
just be inefficient) and most certainly would help sometimes. So given that 
there are good reasons to encode ', and no good reasons not to, I don't see why 
there should be any controversy.

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

Reply via email to