Issue
If you are using the CQ5.5 authoring environment to add links to DAM assets through the rich-text editor dialog by drag-and-drop, then you may notice that some of these links will be marked invalid after clicking OK on the dialog.
A invalid link appears like the “banking” text below, whereas a valid link appears like the “investors” text.
You may also see errors similar to the following in the error.log:
*ERROR* [0:0:0:0:0:0:0:1 [1344244721052] GET /libs/wcm/core/content/pageinfo.json HTTP/1.1] com.day.cq.wcm.core.impl.servlets.PageInfoServlet Request path does not resolve to a resource: /content/dam/geometrixx/documents/GeoSphere_D%20a%20tasheet.pdf
Reason
The links are marked invalid when the assets in DAM contain spaces, or other characters such as !%$üäö, in the file-name (e.g. GeoSphere_D a tasheet.pdf). Such file-names are being parsed by a URL encoder and the characters get converted by a URL encoder at the wrong place.
Workaround
You can workaround this issue by creating the link with the in-place editor, and also creating the link manually using the link button in the rte dialog, and selecting the document through the browse function. Only drag&drop directly onto the text in the rte dialog is not working.
Solution
This is a product issue with the rich-text widget and has been fixed in later product versions.
If you wish to resolve this issue in CQ5.5 you should contact support through Daycare and request hotfix “cq-5.5.0-hotfix-2390-1.zip”. This hotfix has dependencies on other components, so the support team can advise you on installation order and requirements.
reference: (37103/NPR-2390)
CQ5.5: Invalid links to DAM assets containing spaces in the file-name,
