-
Bug
-
Resolution: Fixed
-
Medium
-
5.4.2, 5.4.3, 5.5, 5.6.4, 5.7.1
When a user searches for an attachment that contain spaces the macro will work fine, however if he click on that attachment it will result in a page not find error.
Steps to reproduce:
- Create a space and attach the to it the files "nospace.doc" and "with space.doc".
- Now create a new page and add the Live Search Macro.
- Search for the "nospace.doc", and click on it.
- File will open fine.
- Go back to the page where you added the Live Search Macro and search for the "with space.doc"
- You will get the page not found error.
Workaround:
If you remove spaces in the name of the attachment you will be able to open it using live search macro.
Notes:
If you go to Confluence Search Page and search for the attachment this will be the URL you will get:
http://localhost:8090/download/attachments/1540098/with%20space.doc?version=1&modificationDate=1394227894728&api=v2
However when opening the file with Live Search Macro you will get below one in return:
http://localhost:8090/download/attachments/1540098/with%2520space.doc?version=1&modificationDate=1394227894728&api=v2
For some reason when using Live Search Macro the "%20" get replaced with "%2520"
- is related to
-
CONFSERVER-32672 Spaces in Attachment Filenames are Incorrectly Encoded in the Livesearch Macro
-
- Closed
-
-
CONFSERVER-33780 Using livesearch within a space to open an attachment causes a 404
-
- Closed
-
- relates to
-
CONFSERVER-37262 LiveSearch macro double-encodes filenames with non-latin characters
-
- Closed
-
-
CONFSERVER-94864 Live Search Macro fails to open attachments if the attachment filename has special characters such as & ,
-
- Gathering Impact
-
- mentioned in
-
Page Failed to load
Confirmed, finally fixed in 5.8.5
Thx
