Bug #19576
closedURL parameters cause RTE error
0%
Description
Pasting a url with parameters into the RTE's view HTML source mode or by setting a link by external url via the Element Browser will cause the the RTE to report the url as invalid after saving. Removing the url parameters will not invoke the error.
url before save:
<p>
<a href="http://localhost/gburg/?id=1487&card=2&title=Wisdom" target="_top" title="Wisdom eCard"><img src="fileadmin/local/ecards/card2sm.jpg" style="width: 175px; height: 132px;" alt="Wisdom eCard" /></a>
</p>
url after save as displayed in the RTE view HTML Source:
<p>
<a href="http://localhost/gburg/?id=1487&card=2&title=Wisdom" target="_top" title="Wisdom eCard" rteerror="No page found: 0" style="border: 2px solid red; background-color: yellow; color: black;"><img src="http://localhost/gburg/fileadmin/local/ecards/card2sm.jpg" style="width: 175px; height: 132px;" alt="Wisdom eCard" /></a>
</p>
as rendered on the page after save:
<p>
<img src="fileadmin/local/ecards/card2sm.jpg" style="width: 175px; height: 132px;" alt="Wisdom eCard">
</p>
url that does not produce error:
<p>
<a href="http://localhost/gburg/?id=1487" target="_top" title="Wisdom eCard"><img src="fileadmin/local/ecards/card2sm.jpg" style="width: 175px; height: 132px;" alt="Wisdom eCard" /></a>
</p>
Reproducible in FF 3.0.3 and Safari 3.1.2. Not tested in anything else. Attached is a file containing the Page TSConfig.
(issue imported from #M9743)
Files