Hi,
In the slightly code of html I have
<a href="${'/content/abc/123.html?text=123 @CONTEXT= 'html'}">button</a>
I noticed the page renders the anchor tag without /content . This is happening for urls which has ? in the href
<a href="${'/abc/123.html?text=123'}">button</a>
What could be the issue here .How to resolve it
Thanks
Solved! Go to Solution.
Views
Replies
Total Likes
@srinivas_chann1 Please add x-cq-linkchecker="valid" parameter in the <a> tag or disable external link checker entirely by going to felix console.
You see this issue on both author and publish or any specific instance? Can you check if you have any etc/maps configured to rewrite the URLs which has query string in it?
It an issue with the URL shortening. So let's check the etc/maps first.
Thanks!
check /etc/map don't have any such rules there
@srinivas_chann1 Please add x-cq-linkchecker="valid" parameter in the <a> tag or disable external link checker entirely by going to felix console.
added x-cq-linkchecker="skip" it worked
Hi @srinivas_chann1 ,
It can be possibility due to shortened url as mentioned @Asutosh_Jena_ .
Can you please try other url and is there any logic written in the java for URL validation check that also.
Regard,
Sanjay
Views
Likes
Replies