Patches item #1545541, was opened at 2006-08-23 15:56
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=684977&aid=1545541&group_id=119783

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: 2.0
Status: Open
Resolution: None
Priority: 5
Submitted By: Philip A. Chapman (theserge)
Assigned to: Nobody/Anonymous (nobody)
Summary: Fixed String parsing error in WicketFilter

Initial Comment:
If the url http://myserver.com/myapppath is entered
instead of http://myserver.com/myapppath/, an error
like this is thrown:

java.lang.StringIndexOutOfBoundsException: String index
out of range: -1
 at java.lang.String.substring(String.java:1768) 
 at java.lang.String.substring(String.java:1735) 
 at
wicket.protocol.http.WicketFilter.isWicketRequest(WicketFilter.java:501)


This patch fixes it by first testing to see if url
length is > full url path.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=684977&aid=1545541&group_id=119783

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-develop mailing list
Wicket-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-develop

Reply via email to