Share Link image previews fail for folder names with special characters in AEM Assets

Adobe Experience Manager as a Cloud Service (AEMaaCS) may fail to display image previews through Share Link when Asset View folder names contain special characters such as & or # because these characters aren’t percent-encoded in the preview URL. To resolve the issue, remove unsupported special characters from folder names, generate a new Share Link, and verify the image previews.

Description description

Environment

Adobe Experience Manager as a Cloud Service (AEMaaCS), all versions

Issue/Symptoms

  • Image previews fail when Asset View folders contain special characters such as & or #.
  • After opening a Share Link and navigating to an affected folder, double-clicking an image doesn’t display its preview.
  • Double-clicking the image redirects to the AEM login page.
  • The issue affects Share Link preview functionality but doesn’t affect other preview methods in Asset View.

Root cause

Share Link preview URLs use folder paths as-is. Special characters such as & and # are unsafe in URLs and aren’t percent-encoded, resulting in malformed requests and redirection to the login page. Asset View doesn’t currently restrict these characters, but Share Link preview functionality is sensitive to them.

Resolution resolution

Follow the steps below to resolve the issue:

  1. When creating folders in Asset View, avoid special characters such as &, #, or other characters that are unsafe in URLs.
  2. For existing folders that contain these characters, rename the folders to remove &, #, or other unsupported characters before sharing them through Share Link.
  3. Inform content creators about this limitation to prevent future Share Link preview issues.
  4. Monitor Adobe Experience Manager Assets release notes for improvements related to folder naming restrictions or Share Link functionality.
  5. After renaming the folders and removing the special characters, generate a new Share Link and verify that image previews display correctly.
recommendation-more-help
experience-cloud-kcs-help-kbarticles