This content has been marked as final.
Show 1 reply
-
1. Re: Broken Link handling by CQ
rush_pawan Jul 24, 2013 12:08 PM (in response to Veena_07)Hi Veena,
CQ validates links of resource which are relative to current respository either you use relative or full url. It does not validate any outside url and i am not sure if there is any OOTB configuration to check that too. The case you have mentioned above is not actually a url because its not complete (either local or outside)
The <c:url> just format the url with proper encoding.
I suggest to use <%xssAPI.getValidHref(link)%> to validate all the links that you display on page (its implicit object once you include /libs/foundation/global.jsp on your page) or
Let me know if you need more information.
Thanks,
Pawan

