commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 29149] New: - StringEscapeUtils.unescapeHtml() doesn't handle an empty entity
Date Fri, 21 May 2004 22:40:43 GMT
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=29149>.
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=29149

StringEscapeUtils.unescapeHtml() doesn't handle an empty entity

           Summary: StringEscapeUtils.unescapeHtml() doesn't handle an empty
                    entity
           Product: Commons
           Version: 2.0 Final
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Lang
        AssignedTo: commons-dev@jakarta.apache.org
        ReportedBy: dan.goldberg@fetch.com


Pass the a string containing "&;" (without double quotes) to 
StringEscapeUtils.unescapeHtml().  

This will result in an ArrayIndexOutOfBounds error.

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message