-
Bug
-
Resolution: Unresolved
-
Low
-
None
-
No-Version
-
Severity 3 - Minor
-
NOTE: This bug report is for Confluence Server. Using Confluence Cloud? See the corresponding bug report.
Steps to reproduce:
1. Post an answer to a question. In the answer, paste a URL which has an apostrophe in the URL, e.g. https://confluence.atlassian.com/display/CONFKB/Editing+or+Deleting+a+Page+That+Won't+Render
2. Save the answer. The URL alias will show the full URL.
3. Hover over or click the URL to check the target. Everything after the apostrophe will be removed.
Example: https://extranet.atlassian.com/questions/2343677488/answers/2344069866
- is caused by
-
CONFSERVER-24320 Links and web images with URLs containing certain non-alphanumeric characters fail to save
-
- Closed
-
- relates to
-
CONFCLOUD-47899 When posting an answer to a question, URLs with apostrophe's are incorrectly truncated
-
- Closed
-
Users in our team have encountered this problem when pasting links to Google Maps locations. The team refer to locations on Google maps based on longitude and latitude coordinates for accuracy and locations are not necessarily registered places with a name.
EG: https://www.google.com/maps/place/31%C2%B057'33.9%22S+115%C2%B049'46.1%22E/@-31.9594214,115.824987,17z/data=!3m1!4b1!4m13!1m8!3m7!1s0x2a32966cdb47733d:0x304f0b535df55d0!2sPerth+WA,+Australia!3b1!8m2!3d-31.9523123!4d115.861309!16zL20vMDYycWc!3m3!8m2!3d-31.959426!4d115.829477?hl=en-AU
When you paste this URL into a confluence page as plain text, the full text is pasted and converted to a hyperlink as expected. When editing the link, the content of the address field is truncated, removing all text after the first apostrophe character ['] in the URL.
Address: https://www.google.com/maps/place/31%C2%B057
Link Text: https://www.google.com/maps/place/31%C2%B057'33.9%22S+115%C2%B049'46.1%22E/@-31.9594214,115.824987,17z/data=!3m1!4b1!4m13!1m8!3m7!1s0x2a32966cdb47733d:0x304f0b535df55d0!2sPerth+WA,+Australia!3b1!8m2!3d-31.9523123!4d115.861309!16zL20vMDYycWc!3m3!8m2!3d-31.959426!4d115.829477?hl=en-AU
Also noted: