-
Bug
-
Resolution: Cannot Reproduce
-
Medium
-
41
-
Severity 2 - Major
-
2
-
NOTE: This bug report is for Confluence Cloud. Using Confluence Server? See the corresponding bug report.
Symptoms
Any time a URL contains a character that is invalid as per the URI RFC, or one of a small set of valid characters ("*", "[", "]", "'", " ' "), the link will fail to save correctly. The link will appear on the page, but not clickable. The anchor tag is empty and the URL is not saved into the BODYCONTENT table.
Similar behavior occurs when inserting an image from the web with an URL containing an invalid character. While the image renders in edit mode, upon saving the page there will be a red "Broken Image" placeholder.
Steps to reproduce:
- Click Link > Web Link tab
- Insert an URL with an invalid character. For example: http://www.google.com/* (this is a bogus URL)
- Click Insert
- Save page
Workaround:
Use an encoded entity in the format "%<hexit><hexit>" (reference) in place of the invalid character when injecting the URL.
OR a simpler way would be:
- Go to Google Shortner at https://goo.gl/
- Paste the URL
- Google will generate a short url for your URL which you will be able to link.
- Google will also be change your long URL to alphanumeric characters, which can also be saved.
- causes
-
CONFCLOUD-47899 When posting an answer to a question, URLs with apostrophe's are incorrectly truncated
- Closed
- is duplicated by
-
CONFCLOUD-27064 Wikipedia links with apostrophes in the page titles do not paste as links for some users
- Closed
-
CONFCLOUD-34929 Inserting a link with an apostrophe produces no link and no error
- Closed
- is related to
-
CONFCLOUD-69463 Table of Content links with accented characters don't work
- Closed
-
CONFSERVER-24320 Links and web images with URLs containing certain non-alphanumeric characters fail to save
- Closed
- relates to
-
CONFCLOUD-32894 Web link that has pound (#) sign doesn't work.
- Closed