Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: EE-3.3.0.GA_P07
-
Fix Version/s: EE-3.3.0.GA_P08
-
Component/s: ACE-Components, ICE-Components
-
Labels:None
-
Environment:Any
-
Support Case References:Support case 14570 - https://icesoft.my.salesforce.com/5000g00002CeUHt
-
Workaround Exists:Yes
-
Workaround Description:Avoid using spaces in resource names. Instead use underscore characters or encode spaces with the %20 string.
Description
When loading a page that serves a resource, such page fails to load, and an exception page is displayed instead with a message that reads "java.net.URISyntaxException: Illegal character in path at index...".
This issue wasn't present in the P03 release. It started to fail in the P04 release.
This issue wasn't present in the P03 release. It started to fail in the P04 release.
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
r53170: encoded spaces in the resource URI
r53169: committed fix to customer's branch
ICE-11093removed the URI encoding logic added as perICE-6931, because it turned DynamicResourceDispatcher into a facade for org.icefaces.application.ResourceRegistry, so it wasn't possible to add this encoding logic back there, because this is now just a facade that is used only by compat components. Also, using URLEncoder doesn't work here, because it encodes other characters that shouldn't be encoded in this case, such as forward slashes. So, the fix consists in only encoding spaces in the URI with the string "%20".