-
Bug
-
Resolution: Unresolved
-
Low
-
None
-
3.5
-
Standalone
Windows XP
Java 1.6.0_10
-
4
-
Severity 3 - Minor
-
Multimedia Macro does not support some special characters in filename
Steps to Reproduce
- Upload a video format attachment onto a Confluence page
- The attachment file name should include any special chracters below
+ % # & '
MP4 format is used in this test
- The attachment file name should include any special chracters below
- Edit the page and insert a Multimedia Macro, choose the attachment uploaded from the previous steps
Example Storage Format
<p> <ac:structured-macro ac:macro-id="ce9a6432-928d-4ba2-a301-15d819a76e7e" ac:name="multimedia" ac:schema-version="1"> <ac:parameter ac:name="name"> <ri:attachment ri:filename="this + that.mp4"/> </ac:parameter> </ac:structured-macro> </p>
- Save the page
Expected Results
Multimedia macro is showing the video properly in the View Mode
Actual Results
Multimedia macro cannot render the video file due to the special character in file name
Note
Different special characters is trigerring different behavior where + % # will show the error message below:
No video with supported format and MIME type found
While & ' show the error message below:
Error rendering macro 'multimedia'
com.atlassian.renderer.v2.macro.MacroException: Cannot find attachment 'this & that.mp4'
this & that.mp4 is the attachment file name used in this test
Workaround
Avoid using the known special chracters that will cause this issue in the file name
This bug report has been updated to better reflect the issue. Below is the old bug report description
The new multimedia macro will not find attached swf (flash) files if the filename has a ' in it.
We have files already embedded using the !filename.swf! notation and they work fine (autoplay and all) but when I changed them to use the new {multimedia} notation there was an error message: "multimedia: Cannot find attachment 'ninja's.swf'"
I've attached two files - the test swf file from the confluence documentation page with and without an apostrophe ' character in the filename so you can test it.
- relates to
-
CONFSERVER-40901 Multimedia Macro Displays a Page Not Found with # Character in Filename
-
- Closed
-
Hi Team,
Issue still exist with version 7.13.7, can we please get a fix?