Expand my Community achievements bar.

Issue in adding special character to RTE Link plugin for href

Avatar

Community Advisor

Facing Issue in adding special character to RTE Link plugin for href

KiranVedantam1992_0-1627413562939.png

Once the special characters are added, it is not showing the link. I tried following the solution said in this link: https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/alt-text-issue-in-links-in... but as the issue is for href and href already has some of the regex applied, and custom values are not getting accepted. Please suggest

KiranVedantam1992_1-1627413686902.png

 

@kautuk_sahni 

 

Thanks,

Kiran Vedantam.

 

3 Replies

Avatar

Administrator

---------------------------------------

Not Tested But it should work

---------------------------------------

If you trying to add special character to the URL as Query parameters, I would recommedn encoding the URL string.

Example:

The parameter may be submitted via a URL such as "http://www.awebsite.com/encodingurls/submitmoviename.html?movie1=Fast & Furious". In this example, space and & need to be handled specially, otherwise it may not be interpreted properly - for example, the associated GET request may fail.

These character can be encoding:
      Space as '%20' or '+'
      '&' as '%26'

And thus the URL, after encoding, would look like 'http://www.awebsite.com/encodingurls/submitmoviename.html?movie1=Fast+%26+Furious'.

 

Use this tool: https://www.w3schools.com/tags/ref_urlencode.ASP

 

 



Kautuk Sahni

Avatar

Community Advisor

Hi @kautuk_sahni,

 

Thanks for your response. Dont we have an option to do it the way we add it in XSS file? We have to author that in many pages.

 

Thanks,

Kiran Vedantam.