Affects Version/s: 4.0, 4.1, 5.0.1, 5.1.3, 5.3, 5.6.4, 5.7.1, 5.8.13, 5.10
Fix Version/s: 6.0.3
Component/s: Editor - Page / Comment Editor
Support reference count:27
Sprint:Galaxy - before the innovation, Galaxy - BBQ party, Galaxy - next
- inserting a link with the link macro
- inserting a link by pasting on the page
- inserting a link then changing the text later
- illegal characters
- characters not allowed by storage format parser
QA Demo Status:Done
QA Kickoff Status:Done
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.
- 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
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.