Affects Version/s: 6.1.1 CE GA2, 6.1.20 EE GA2
Fix Version/s: None
Similar Issues:Show 5 results
LPS-1724 Encoded Redirect Url incomplete LPS-47334 Portal incorrectly handles invalid url-encoded characters in URL LPS-10350 Ampersand (&) and quote (") are misleadingly encoded in JournalArticle dynamic content of type text_area LPS-12088 Wiki creole links are not URL encoded LPS-31924 Would like a portal property that supports encoded URLs in Liferay
Steps to reproduce:
1. create a blog entry. Pretend you're blogging about HTML, use the following text:
If you link to server-relative files you can do it like <a href="/some-file">this</a> or, with image, like <img src="/some-file.png"/> this
(Note that this is the actual HTML text, not the source!)
2. access the blog's RSS feed. The text you'll find in there (with the default "full content" displayed) is:
If you link to server-relative files you can do it like <a href="http://localhost:8080/some-file">this</a> or, with image, like <img src="http://localhost:8080/some-file.png"/> this
(or whatever your current portal URL is).
The offending code is from BlogsEntryServiceImpl:
i.e. blind replacement of the href and src sequences, no matter if they're markup or text.