You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@archiva.apache.org by "Steffen Grunwald (JIRA)" <ji...@codehaus.org> on 2008/03/03 15:44:28 UTC
[jira] Updated: (MRM-725) /archiva/browse URL does not work on
WebSphere
[ http://jira.codehaus.org/browse/MRM-725?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Steffen Grunwald updated MRM-725:
---------------------------------
Attachment: MRM-725.patch
Suggested patch considers pathInfo, if servletPath is empty string
> /archiva/browse URL does not work on WebSphere
> ----------------------------------------------
>
> Key: MRM-725
> URL: http://jira.codehaus.org/browse/MRM-725
> Project: Archiva
> Issue Type: Bug
> Components: web application
> Affects Versions: 1.0.1
> Environment: WebSphere 6.1
> Reporter: Steffen Grunwald
> Attachments: MRM-725.patch
>
>
> The browse URL is not recognized, since the RepositoryActionMapper uses the ServletPath to determine the "browse" prefix in the path.
> The JEE 5 spec specifies [1]:
> "This method will return an empty string ("") if the servlet used to process this request was matched using the "/*" pattern."
> If your appserver works as described the "browse" in the URL can only be determined by using getPathInfo().
> [1] http://java.sun.com/javaee/5/docs/api/javax/servlet/http/HttpServletRequest.html#getServletPath()
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira