URLs with & character in the RTE
Hi team, we are seeing an issue in the RTE when we enter a link with a url that contains a & character. This had been fixed and was working on version 28.1.1 when Fraola was brought to version 4.1.4 (Fraola had fixed this in version 4.1.2)
Now, on version 28.3.0 when we enter a link like this:
/search?query=eat & drink OR /search?query=eat%20%26%20drink
and save, the & dringk gets removed.
Same thing happens with absolute or relative paths.
It DOES WORK though, if the path is of a domain that is NOT the one you are on.
Our developer thinks is has to do with the translationto and from cmsctx:
Environment
- Xperience by Kentico version: [28.3.0]
- .NET version: [8]
- Deployment environment: [Azure]
Answers
@fcalvo
Hm, this seems like a bug or regression. I'd send this to support.
But, since you mention it works if you are on a different domain for the administration than the one you are linking to...
I recommend running the Xperience administration over a different domain as your website channels, even locally (you can use different localhost
ports).
That said, I don't think that should cause the issue you are seeing.
Confirming that this has now been fixed in the Hotfix version 29.1.2: https://docs.kentico.com/changelog#hotfix-may-30-2024
Thank you!
@fcalvo
Thanks for following up!
I made some updates to the support request submission to send email confirmations after submitting the form.
To answer this question, you have to login first.