Skip to content
Snippets Groups Projects
Commit 0cea6390 authored by Marius Dumitru Florea's avatar Marius Dumitru Florea
Browse files

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)
* Add only the office file name to the temporary file path if the resource is specified by an attachment reference, because the rest of the information (wiki/space/page) are already included in the path.
* Use Base64 encoding for the resource reference when adding it to the path because it can contain special characters that are prohibited in the URL by some servlet containers even when they are URL-encoded.
parent 82c605dd
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment