Project

General

Profile

Actions

Bug #79568

closed

baseURL determination of EXT:rtehtmlarea fails in frontend editing

Added by Pierrick Caillon about 7 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
RTE (rtehtmlarea + ckeditor)
Target version:
-
Start date:
2017-01-31
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
8
PHP Version:
Tags:
rte feedit
Complexity:
easy
Is Regression:
No
Sprint Focus:

Description

The htmlarea RTE fails to correctly determine the baseURI to define in the editing iframe when a slash is present unencoded in the url parameters.
The case happens with frontend editing. When editing an existing record. An unencoded return url is added to the edit frame parameters. In backend the URL is already properly encoded when present, for example, when searching a record with the global search box and clicking on the record.

Occurs with Mozilla Firefox 51. Does not occur with Google Chrome. Not Verified with Internet Explorer.

Reproduction steps:
  1. Set up frontend editing (https://wiki.typo3.org/Frontend_editing and Content Elements (fluid_styled_content) template included for editpanel)
  2. Create or choose a Text & Image or Text & Media or any other content with a Rich Text Editor
  3. Put a table with default settings in the RTE, it will make the fix visible without inspection
  4. Go to the page in frontend and click the edit icon of the created or chosen content
  5. In the edit popup, the URL ends with &returnUrl=sysext/backend/Resources/Private/Templates/Close.html
  6. In the RTE, table borders are not visible despite activating the show table borders button

Files

79568-firefox.jpg (93.6 KB) 79568-firefox.jpg RTE result in Firefox Pierrick Caillon, 2017-01-31 12:54
79568-chrome.jpg (84.8 KB) 79568-chrome.jpg RTE result in Chrome Pierrick Caillon, 2017-01-31 12:54
RTE 79568 7.6 6.2.patch (2.09 KB) RTE 79568 7.6 6.2.patch Patch for 7.6 and 6.2 Pierrick Caillon, 2017-01-31 14:23

Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #65705: baseURL determination of EXT:rtehtmlare fails in edge caseClosed2015-03-12

Actions
Related to TYPO3 Core - Bug #65608: BaseURL is wrong in Frontend when using RealURL with config.absRefPrefixClosed2015-03-09

Actions
Actions

Also available in: Atom PDF