Project

General

Profile

Actions

Bug #68777

closed

Can't edit external links with htmlarea's Element Browser

Added by Urs Braem over 9 years ago. Updated about 9 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2015-08-05
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
5.5
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

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&amp;moduleToken=644344f98253d4e419018e15ebc7356614697e56&amp;&amp;RTEtsConfigParams=tt_content%3A1237%3Abodytext%3A311%3Atext%3A311%3A&amp;editorNo=data_tt_content__1237__bodytext_&amp;sys_language_content=0&amp;contentTypo3Language=default&amp;curUrl[href]=http%3A%2F%2Fwww.ondaverde.ch%2F&amp;curUrl[target]=_blank&amp;curUrl[class]=external-link-new-window&amp;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

Google Chrome.jpg (177 KB) Google Chrome.jpg When the error appears Urs Braem, 2015-08-05 23:01
Google Chrome 3.jpg (201 KB) Google Chrome 3.jpg When I change Parameters in the iframe tag live in the DOM Urs Braem, 2015-08-05 23:01
Google Chrome 4.jpg (165 KB) Google Chrome 4.jpg When the error appears Urs Braem, 2015-08-05 23:06
Actions

Also available in: Atom PDF