Extenal component not rendering file links properly
hi adobe cq expert,
we need include external web app (based on asp) our new cq website. asp web app search engine searches internal document database , returnes list of files such powerpoints, pdfs etc. these documents cannot migrated our cq database due various reasons.
we using default 'external' component include our web app. works fine until realise cq prefixes it's own url file hyperlinks returned search results.
for example,
when asp app running standalone, file hyperlink looks this:
<a href="http://companywebsite.com/search/display.asp?id=fc/07/000009">meeting document</a>
and clicking on link prompt using download file.
but when included in cq using 'external' component, got:
<a href="http://companywebsite.com/content/companywebsite/search-documents.html?cfc__target=http%3a %2f%2f10.xx.xxx.xxx%2fsearch%2fnew-intranet-display.asp%3fid%3dfc%2f07%2f000009>meeting document</a>
// hid ip address using 'xx' in post
how can strip cq url , format rest make sure doesn't come these %2 etc?
thanks!
you passing url in querystring , needs escaped per standards[1]. is correct.
i not sure try adding optionally attribute [2] in <a> helps & note attribute makes link checker not check validity link.
[1] http://en.wikipedia.org/wiki/query_string#url_encoding
[2] x-cq-linkchecker="skip"
More discussions in Archived Spaces
adobe
Comments
Post a Comment