URLs with & character in the RTE

2024/04/18 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

2024/04/18 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.

2024/04/19 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.

2024/04/19 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.

2024/05/30 3:07 PM
Answer

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!

2024/06/02 5:58 AM

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