URLs with & character in the RTE

fcalvo April 18, 2024 8:50 PM

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: Rewritten path


Environment

  • Xperience by Kentico version: [28.3.0]
  • .NET version: [8]
  • Deployment environment: [Azure]

Answers

🔗 Sean Wright (seangwright) April 18, 2024 9:50 PM

@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.


🔗 fcalvo April 19, 2024 1:42 PM

Thanks Sean, I did test in localhost and in effect, it does work there. Adding a link with a different domain that the one you are on does work. I'll put a support ticket.


🔗 fcalvo April 19, 2024 2:53 PM

I've submitted a ticket. No indication after submit that it was actually submitted, nor did I get an email saying it got entered but I'll just trust that it'll get to someone.


To answer this question, you have to login first.