[ https://issues.apache.org/jira/browse/PLUTO-361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Marc Veary updated PLUTO-361: ----------------------------- Attachment: unittest-PLUTO-361.txt The attached Unit Test was used to reproduce the issue and to test fix > Error when parsing the portal url > --------------------------------- > > Key: PLUTO-361 > URL: https://issues.apache.org/jira/browse/PLUTO-361 > Project: Pluto > Issue Type: Bug > Components: portal driver > Affects Versions: 1.1.2 > Environment: Fedora 5, Tomcat 5.0.28 > Reporter: thanh > Attachments: patch-PLUTO-361.txt, unittest-PLUTO-361.txt > > > When I use the below link: > http://localhost:8080/pluto/portal/__ > I got this error: > java.lang.StringIndexOutOfBoundsException: String index out of range: -2 > java.lang.String.substring(String.java:1768) > java.lang.String.substring(String.java:1735) > > org.apache.pluto.driver.url.impl.PortalURLParserImpl.decodeParameter(PortalURLParserImpl.java:357) > > org.apache.pluto.driver.url.impl.PortalURLParserImpl.parse(PortalURLParserImpl.java:158) > > org.apache.pluto.driver.core.PortalRequestContext.getRequestedPortalURL(PortalRequestContext.java:113) > > org.apache.pluto.driver.PortalDriverServlet.doGet(PortalDriverServlet.java:95) > javax.servlet.http.HttpServlet.service(HttpServlet.java:689) > javax.servlet.http.HttpServlet.service(HttpServlet.java:802) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.