-
Bug
-
Resolution: Done
-
Blocker
-
EAP_EWP 5.1.2
-
None
-
Release Notes
-
-
Documented as Resolved Issue
-
NEW
Apache xml-commons resolver (1.1b1 shipped in lib/endorsed) does not correctly convert paths to URLs (using File.toURL or similar), instead simply putting "file:" on the front and passing it to the URL constructor. This does not work on Windows since "file:C:\..." is not a valid file URL, it should be "file:/C:/..." instead.
This did not affect EAP 5.1.1 and earlier since out FileURLConnection code had incorrect URL deconstruction code, so the bugs cancelled out. That debug was fixed in JBCOMMON-106, triggered this one to be encountered.
Upstream resolver 1.2 has a partial fix for this (see https://issues.apache.org/bugzilla/show_bug.cgi?id=28719), which handles basic Windows paths but still does not correctly handle UNC paths (\\host\share\...).
- blocks
-
JBPAPP-7218 Track component upgrades - EAP 5.2.0
- Closed
- is incorporated by
-
JBPAPP-7814 xml-commons resolver does not handle Windows paths properly
- Resolved