You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pluto-dev@portals.apache.org by "Marc Veary (JIRA)" <ji...@apache.org> on 2007/07/03 17:49:04 UTC

[jira] Updated: (PLUTO-361) Error when parsing the portal url

     [ https://issues.apache.org/jira/browse/PLUTO-361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marc Veary updated PLUTO-361:
-----------------------------

    Attachment: patch-PLUTO-361.txt

This patch fixes the issue where an action request (i.e. prefixed with '__') is made but there are no parameters to decode.

> 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
>
>
> 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.