Bug #68777
closedCan't edit external links with htmlarea's Element Browser
0%
Description
Hi,
On some of our sites, the element browser (EB) to edit external links can't be opened successfully in htmlarea.
When we try to edit an external link, the EB opens and loads the webserver's 404 response page. See the attached screenshot (from Chrome, but this happens in all browsers).
I looked at the EB's iframe in the DOM:
<iframe class="content-iframe" src="mod.php?M=rtehtmlarea_wizard_element_browser&moduleToken=644344f98253d4e419018e15ebc7356614697e56&&RTEtsConfigParams=tt_content%3A1237%3Abodytext%3A311%3Atext%3A311%3A&editorNo=data_tt_content__1237__bodytext_&sys_language_content=0&contentTypo3Language=default&curUrl[href]=http%3A%2F%2Fwww.ondaverde.ch%2F&curUrl[target]=_blank&curUrl[class]=external-link-new-window&curUrl[data-htmlarea-external]=1" id="ext-comp-1046" style="height: 488px; width: 536px;"></iframe>
And noticed this part:
curUrl[href]=http%3A%2F%2Fwww.ondaverde.ch
If I change it to
curUrl[href]=http://www.ondaverde.ch
directly in chrome's inspector, the EB works again, and all the fields appear as normally! (cf second screenshot)
Now I don't know where to continue: shouldn't these values be URL-encoded? Or rather: why can't the element browser interpret this encoded URL? Is this a bug, or a misconfiguration on the server? It happens on the web server, but I could not reproduce it locally with MAMP.
Any hints would be appreciated.
Files