Return-Path: Delivered-To: apmail-jakarta-taglibs-dev-archive@www.apache.org Received: (qmail 43152 invoked from network); 10 Mar 2004 04:20:19 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 10 Mar 2004 04:20:19 -0000 Received: (qmail 84224 invoked by uid 500); 10 Mar 2004 04:19:58 -0000 Delivered-To: apmail-jakarta-taglibs-dev-archive@jakarta.apache.org Received: (qmail 84196 invoked by uid 500); 10 Mar 2004 04:19:58 -0000 Mailing-List: contact taglibs-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tag Libraries Developers List" Reply-To: "Tag Libraries Developers List" Delivered-To: mailing list taglibs-dev@jakarta.apache.org Received: (qmail 84182 invoked from network); 10 Mar 2004 04:19:58 -0000 Received: from unknown (HELO exchange.sun.com) (192.18.33.10) by daedalus.apache.org with SMTP; 10 Mar 2004 04:19:58 -0000 Received: (qmail 10605 invoked by uid 50); 10 Mar 2004 04:20:38 -0000 Date: 10 Mar 2004 04:20:38 -0000 Message-ID: <20040310042038.10604.qmail@nagoya.betaversion.org> From: bugzilla@apache.org To: taglibs-dev@jakarta.apache.org Cc: Subject: DO NOT REPLY [Bug 15321] - wordWrap throws StringArrayIndexOutOfBoundsExceptions X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . 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=15321 wordWrap throws StringArrayIndexOutOfBoundsExceptions nagoya@felipeal.net changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |WORKSFORME ------- Additional Comments From nagoya@felipeal.net 2004-03-10 04:20 ------- Robert, Could you please try it again and, if the bug persists, reopen the bug providing a better test case? For instance, I created the following JSP page: <%-- jsp page starts here --%> <%@ taglib uri="http://jakarta.apache.org/taglibs/string-1.0.1" prefix="str" %> <% StringBuffer buffer = new StringBuffer(100); for ( int i=1; i<=80; i++ ) { buffer.append( (char) i%10 ); } String word = request.getParameter("word"); if ( word == null ) { word = ""; } %> Word: <%=word%>
Length: <%=word%>
Word:
<%-- jsp page ends here --%> And ran it with many inputs: http://localhost:8080/taglibs/bug15321.jsp?word=12345678901234567890123456789012345678901234567890123456789012345678901234567890 http://localhost:8080/taglibs/bug15321.jsp?word=12345678901234567890123456789012345678901234567890123456789012345678901234567890%0D http://localhost:8080/taglibs/bug15321.jsp?word=12345678901234567890123456789012345678901234567890123456789012345678901234567890%0A http://localhost:8080/taglibs/bug15321.jsp?word=12345678901234567890123456789012345678901234567890123456789012345678901234567890%0A%0D None of them caused an exception, so I think it might have been already fixed. Felipe --------------------------------------------------------------------- To unsubscribe, e-mail: taglibs-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: taglibs-dev-help@jakarta.apache.org