|
| Version: |
17.10.4 |
| Description: |
When setting a multi-level context path as described in Tomcat https://tomcat.apache.org/tomcat-10.1-doc/config/context.html#Naming
, files loaded from webjars fail to be loaded by the browser because their generated URL is partly URL encoded.
This occurs inside the method [ExtendedURL#encodeSegment(String value)|https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwiki-platform-url/xwiki-platform-url-api/src/main/java/org/xwiki/url/ExtendedURL.java#L302] which will URL encode the / from a multi-level context path into %2F, breaking the URL and leading to a HTTP error code 404 Not Found |
| Component: |
Containers |
|