#105749Unable to use "&"/ampersand character within URL parameters of "rte_ckeditor" link wizard/popup
Description
When trying to use the “buttons.link.queryParametersSelector” optin within the “rte_ckeditor” extension, its possible to add custom parameters to a URL. But is seems not to be possible to add a “&” character. Using the ViewHelpers “uri.typolink” or “link.typolink”, the result is always a mixed up URL.
Entered data in the “queryParametersSelector” field within the backend:
test=begin&end
Output of saved (raw) data within the fronend:
t3://page?uid=123 – - – test=begin&end
Result after using the ViewHelper/s:
/testpage?end=&test=begin&cHash=c1234567890123456789012345678901
That of cause was expected, because the string “&end” is treated as an additional parameter “end”. But trying to use the URL encoded form “%26” of the “&” character is not possible: After commiting the added URL parameters by exiting the wizard, the “%26” character is immediately replaced by the standard “&” character.
So it is not possible to enter and save the parameter in the already encoded form “test=begin%26end”.
What would be the correct way to use “&” characters within URL parameters? In the meantime, is there a workaround?
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.
Fix this issue
Start the commit message of your patch with this. Add what the patch does, and the versions it goes to in "Releases:". How to create a patch
- Commit message
-
[BUGFIX] Unable to use "&"/ampersand character within URL parameters of "rte_ckeditor" link wizard/popup Resolves: #105749 Releases: main