[
https://issues.apache.org/jira/browse/TAPESTRY-1343?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Robert Zeigler updated TAPESTRY-1343:
-------------------------------------
Attachment: TestPageRenderDispatcher.java
TestNG test class to illustrate the problem.
> StringIndexOutOfBoundsException thrown when trying to find page name when
> request.getPath() returns an empty string.
> --------------------------------------------------------------------------------------------------------------------
>
> Key: TAPESTRY-1343
> URL: https://issues.apache.org/jira/browse/TAPESTRY-1343
> Project: Tapestry
> Issue Type: Bug
> Affects Versions: 5.0.3
> Environment: linux, tomcat4 ("connected" to apache1.3 via modjk),
> java 1.5
> Reporter: Robert Zeigler
> Fix For: 5.0.3
>
> Attachments: TestPageRenderDispatcher.java
>
>
> PageRenderDispatcher.dispatch assumes that request.getPath() will always
> return at least "/". However, it is possible with tomcat for getPath() to
> return an empty string.
> http://www.foo.com/context will return an empty string in tomcat (not in
> jetty).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]