Project

General

Profile

Actions

Bug #79568

closed

baseURL determination of EXT:rtehtmlarea fails in frontend editing

Added by Pierrick Caillon almost 8 years ago. Updated about 6 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 #1

Updated by Pierrick Caillon almost 8 years ago

  • Description updated (diff)
Actions #3

Updated by Gerrit Code Review almost 8 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/51489

Actions #4

Updated by Pierrick Caillon almost 8 years ago

You can find the patch for current LTS releases attached.

Actions #5

Updated by Pierrick Caillon over 7 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #6

Updated by Gerrit Code Review over 7 years ago

  • Status changed from Resolved to Under Review

Patch set 1 for branch TYPO3_7-6 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/52142

Actions #7

Updated by Jigal van Hemert over 7 years ago

  • Status changed from Under Review to Resolved
Actions #8

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF