[
https://issues.jboss.org/browse/WELD-954?page=com.atlassian.jira.plugin.s...
]
Marko Lukša resolved WELD-954.
------------------------------
Fix Version/s: 1.2.0.Beta1
Resolution: Done
I have replaced {{decodeURLPath()}} with {{url.getURI().getSchemeSpecificPart()}}. {{URI}}
does its own decoding and it seems to work as it should. I've tested it with a
directory which contained a '+' and a space and the returned path was correct.
URIs escaped twice in URLScanner
--------------------------------
Key: WELD-954
URL:
https://issues.jboss.org/browse/WELD-954
Project: Weld
Issue Type: Bug
Components: Bootstrap and Metamodel API
Affects Versions: 1.1.2.Final
Reporter: Emond Papegaaij
Assignee: Marko Lukša
Fix For: 1.2.0.Beta1
The fix for WELD-834 can cause spaces to be escaped twice in an URL. This leads to errors
like: Error handling file
/var/lib/jenkins/jobs/Wicket%2520Weld/workspace/wicket-cdi-examples/target/classes
Notice how 'Wicket%20Weld' is escaped to 'Wicket%2520Weld'.
https://github.com/papegaaij/wicket-cdi demonstrates the problem, clone the project in a
directory with a space in the name, and run 'mvn install
-Dwicket.version=1.5-RC5.1'.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira