Hi! I've tested with single backslash: {noformat} environment.servlet.allowedRealPaths=D:\Win 10 Backup\LUCRU_D\TOMCAT_HOME 11.0.20 - 17.10.6 PostgreSQL\webapps\xwiki\ {noformat} The log generated is: {noformat} 2026-04-07 10:56:40,395 [main] WARN o.x.e.i.ServletEnvironment - The resource path [/WEB-INF/cache/infinispan/config.xml] is trying to access a resource outside of the resource root. It's expected to be located inside one of the allowed real locations [D:\Win 10 Backup\LUCRU_D\TOMCAT_HOME 11.0.20 - 17.10.6 PostgreSQL\webapps\xwiki\\, /etc/xwiki/], but its real location is [D:\Win 10 Backup\LUCRU_D\TOMCAT_HOME 11.0.20 - 17.10.6 PostgreSQL\webapps\xwiki\WEB-INF\cache\infinispan\config.xml].{noformat} and with single slash: {noformat} environment.servlet.allowedRealPaths=D:/Win 10 Backup/LUCRU_D/TOMCAT_HOME 11.0.20 - 17.10.6 PostgreSQL/webapps/xwiki/ {noformat} The log generated is: {noformat} 2026-04-07 11:00:27,801 [main] WARN o.x.e.i.ServletEnvironment - The resource path [/WEB-INF/cache/infinispan/config.xml] is trying to access a resource outside of the resource root. It's expected to be located inside one of the allowed real locations [D:\Win 10 Backup\LUCRU_D\TOMCAT_HOME 11.0.20 - 17.10.6 PostgreSQL\webapps\xwiki\\, /etc/xwiki/], but its real location is [D:\Win 10 Backup\LUCRU_D\TOMCAT_HOME 11.0.20 - 17.10.6 PostgreSQL\webapps\xwiki\WEB-INF\cache\infinispan\config.xml].{noformat} and with double slashes before the end, since this is how I configure my LibreOffice in the {{xwiki.properties}} file: {{C:/Program Files//LibreOffice}} {noformat} environment.servlet.allowedRealPaths=D:/Win 10 Backup/LUCRU_D/TOMCAT_HOME 11.0.20 - 17.10.6 PostgreSQL/webapps//xwiki {noformat} The issue still reproduces. log generated is: {noformat} (2026-04-07 11:02:37,069 [main] WARN o.x.e.i.ServletEnvironment - The resource path [/WEB-INF/cache/infinispan/config.xml] is trying to access a resource outside of the resource root.It seems I cannot format's expected to be located inside one of the text as Code allowed real locations [D:\Win 10 Backup\LUCRU_D\TOMCAT_HOME 11.0.20 - 17.10.6 PostgreSQL\webapps\xwiki\\, since after saving the comment it gets messed up /etc/xwiki/], in but its real location is [D:\Win 10 Backup\LUCRU_D\TOMCAT_HOME 11.0.20 - 17.10.6 PostgreSQL\webapps\xwiki\WEB-INF\cache\infinispan\config.xml].{noformat} Tried as well with with double slashes before the Code format includes also other text that it was not included in edit mode end, maybe but with a bug single slash on the Jira side) end: {noformat} environment.servlet.allowedRealPaths=D:/Win 10 Backup/LUCRU_D/TOMCAT_HOME 11.0.20 - 17.10.6 PostgreSQL/webapps//xwiki/{noformat} The log generated is: {noformat} 2026-04-07 11:08:21,332 [main] WARN o.x.e.i.ServletEnvironment - The resource path [/WEB-INF/cache/infinispan/config.xml] is trying to access a resource outside of the resource root. It's expected to be located inside one of the allowed real locations [D:\Win 10 Backup\LUCRU_D\TOMCAT_HOME 11.0.20 - 17.10.6 PostgreSQL\webapps\xwiki\\, /etc/xwiki/], but its real location is [D:\Win 10 Backup\LUCRU_D\TOMCAT_HOME 11.0.20 - 17.10.6 PostgreSQL\webapps\xwiki\WEB-INF\cache\infinispan\config.xml].{noformat} The issue still reproduces.
This message was sent by Atlassian Jira (v9.3.0#930000-sha1:287aeb6)
If image attachments aren't displayed, see this article.