[jboss-jira] [JBoss JIRA] (WFLY-807) ServletContext#getRealPath() returns wrong path
Douglas Campos (JIRA)
jira-events at lists.jboss.org
Wed Jun 12 11:30:54 EDT 2013
[ https://issues.jboss.org/browse/WFLY-807?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Douglas Campos reassigned WFLY-807:
-----------------------------------
Assignee: (was: Douglas Campos)
> ServletContext#getRealPath() returns wrong path
> -----------------------------------------------
>
> Key: WFLY-807
> URL: https://issues.jboss.org/browse/WFLY-807
> Project: WildFly
> Issue Type: Bug
> Environment: MacOSX Lion
> Reporter: Douglas Campos
>
> GET /aerogear-controller-demo/test.haml
> ServletContext.getRealPath("/aerogear-controller-demo/test.haml") returns:
> /Users/qmx/dev/jboss-as-7.1.1.Final/standalone/tmp/vfs/temp6e0c35ea20e93021/content-85417a32e88feba4/aerogear-controller-demo/test.haml
> this path points to a non-existing place, the right one to return would be
> /Users/qmx/dev/jboss-as-7.1.1.Final/standalone/tmp/vfs/temp6e0c35ea20e93021/content-85417a32e88feba4/test.haml
> (note the stripped contextPath)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list