Bug #79568
closedbaseURL determination of EXT:rtehtmlarea fails in frontend editing
100%
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:- Set up frontend editing (https://wiki.typo3.org/Frontend_editing and
Content Elements (fluid_styled_content)
template included for editpanel) - Create or choose a
Text & Image
orText & Media
or any other content with a Rich Text Editor - Put a table with default settings in the RTE, it will make the fix visible without inspection
- Go to the page in frontend and click the edit icon of the created or chosen content
- In the edit popup, the URL ends with
&returnUrl=sysext/backend/Resources/Private/Templates/Close.html
- In the RTE, table borders are not visible despite activating the
show table borders
button
Files
Updated by Pierrick Caillon over 7 years ago
- File 79568-firefox.jpg 79568-firefox.jpg added
- File 79568-chrome.jpg 79568-chrome.jpg added
Added screenshots.
Updated by Gerrit Code Review over 7 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
Updated by Pierrick Caillon over 7 years ago
- File RTE 79568 7.6 6.2.patch RTE 79568 7.6 6.2.patch added
You can find the patch for current LTS releases attached.
Updated by Pierrick Caillon over 7 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset a8c6b34bdb245b523b081b9be6e3859f32080a63.
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
Updated by Jigal van Hemert about 7 years ago
- Status changed from Under Review to Resolved
Applied in changeset 5df7e2c919de15b24acf09b71e2008117f7cb90d.