Original runwar issue #143
Servlet init params that start with /WEB-INF are replaced with the full path when loaded, but this causes issues if the web-inf actually points to a folder that doesn't contain "web-inf" in it since the mapped resource manager stops resolving the paths correctly and tries to put them in the web root.
See if we can stop doing this and have Adobe engines still work properly.
The repaces this ticket is referring to also appears to add extra slashes into the paths. For instance:
it was Partially fixed,I will resume it
Hi , In case you are around over the week, I just want to tell you that, for COMMANDBOX-1012, a portion of code was used to get the CanonicalPath() for the web-inf and stored that path into a variable called webinfPath.
Then, when the init params were received, runwar was evaluating, if the parameter had a WEB-INF in it, and then the parameter was ignored, and the value from the variable webinfPath was used.This logic was removed and the parameter remains untouched.
I have modified the unit tests,and I got this results
I have used the web.xml examples that are within runwar.
Unit tests changes:
is this ticket complete? Can we resolve it?
yes it is, we review it on a call