-
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
[CONFSERVER-32869] Live Search Macro fails to open attachments that contain spaces in the name.
Link | New: This issue relates to CONFSERVER-94864 [ CONFSERVER-94864 ] |
Workflow | Original: JAC Bug Workflow v3 [ 2893094 ] | New: CONFSERVER Bug Workflow v4 [ 2985033 ] |
Workflow | Original: JAC Bug Workflow v2 [ 2792674 ] | New: JAC Bug Workflow v3 [ 2893094 ] |
Status | Original: Resolved [ 5 ] | New: Closed [ 6 ] |
Workflow | Original: JAC Bug Workflow [ 2722559 ] | New: JAC Bug Workflow v2 [ 2792674 ] |
Workflow | Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2392596 ] | New: JAC Bug Workflow [ 2722559 ] |
Workflow | Original: Confluence Workflow - Public Facing - Restricted v5 [ 2274698 ] | New: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2392596 ] |
Workflow | Original: Confluence Workflow - Public Facing - Restricted v5.1 - TEMP [ 2231322 ] | New: Confluence Workflow - Public Facing - Restricted v5 [ 2274698 ] |
Workflow | Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2190353 ] | New: Confluence Workflow - Public Facing - Restricted v5.1 - TEMP [ 2231322 ] |
Workflow | Original: Confluence Workflow - Public Facing - Restricted v5 [ 1923609 ] | New: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2190353 ] |
Workflow | Original: Confluence Workflow - Public Facing - Restricted v3 [ 1731851 ] | New: Confluence Workflow - Public Facing - Restricted v5 [ 1923609 ] |