You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by bu...@apache.org on 2001/11/09 18:53:46 UTC

DO NOT REPLY [Bug 4776] New: - ResponseUtils.filter() does not encode the apostrophe character

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

           Summary: ResponseUtils.filter() does not encode the apostrophe
                    character
           Product: Struts
           Version: 1.0 Final
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Utilities
        AssignedTo: struts-dev@jakarta.apache.org
        ReportedBy: jon+apache-bugzilla@unequivocal.co.uk


ResponseUtils.filter() encodes <, >, & and " but not '.

It is necessary to encode ' in cases where the output is being used as an 
attribute value enclosed by ' characters. (" is more usual but ' is equally 
valid and is certainly used sometimes.)

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>