Details
-
Bug
-
Resolution: Fixed
-
Major
-
2.7
-
None
-
XWiki Enterprise 2.7, Apache Tomcat 7.0.2, PostgresSQL 9.0.2-1 (for Win x64), Java 1.6 Update 22, LibreOffice 3.3 RC1, Windows 7 x64 Enterprise, 8 GB RAM, 2 Dual-Core Opteron Processor 2222 (3.0 GHz)
-
Unit
-
Unknown
-
Description
I noticed that upon using the Office Viewer Macro on pages with a dash in the name (such as "M-16") with ppt attachments no images are displayed. Renaming the page to something without dashes (such as "M 16") it works flawlessly, again. I figure the problem is that the image URLs include %2D instead of the dash in the filename part. In aboves example this would look something like this: "/bin/temp/Space/M%2D16/officepreview/Space.attachment.ppt/attachment-slide1.jpg"
Interestingly enough, it works on pages with non-ANSI chars (such as Ä, Ö, Ü, ä, ö, ü).