There are 3 updates.
 
 
XWiki Platform / cid:jira-generated-image-avatar-09c79676-cd27-430d-96eb-ae1a54fa2738 XWIKI-24080 Open

Support for multi-level context path

 
View issue   ยท   Add comment
 

3 updates

 
cid:jira-generated-image-avatar-080f6c69-d3a9-4dec-b21f-7d928d165194 Changes by Vincent Massol on 04/Mar/26 10:25
 
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