XWIKI-11528: Office viewer fails if the page where the file is attached has a...
XWIKI-11528: Office viewer fails if the page where the file is attached has a special character in the name (whitespace) * Ensure the path to the temporary file is fully encoded (canonical form) even if the URL used to access the file is partially decoded (which can happen for instance when XWiki is behind Apache's mode_proxy with nocanon option disabled).
Showing
- xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/web/TempResourceAction.java 49 additions, 18 deletions...e/src/main/java/com/xpn/xwiki/web/TempResourceAction.java
- xwiki-platform-core/xwiki-platform-oldcore/src/test/java/com/xpn/xwiki/web/TempResourceActionTest.java 16 additions, 2 deletions...c/test/java/com/xpn/xwiki/web/TempResourceActionTest.java
Please register or sign in to comment