Posts

Showing posts from February, 2017

Issues with hosting a static HTML in the JCR/AEM

Image
Issue : In AEM 6.x, when we attempt to hit the static content, such as: /etc/designs/hello/1.html, it is treated like a binary download. Root cause:- This is an intended change made by Adobe engineering in AEM 6.2.  Even for 6.1, Adobe released a hotfix for it NPR-9381.  GRANITE-9550 - Extend content disposition filter protection to author. NPR-9381 - HF for GRANITE-9550 - Extend content disposition filter protection to author. This was introduced as part of Sling Security Fix . Solution:-  Open  OSGI configuration  org.apache.sling.security.impl.ContentDispositionFilter Add static file relative path (for example /etc/designs/hello/1.html ) in  Content Disposition Excluded Paths. Refer :  http://help-forums.adobe.com/content/adobeforums/en/experience-manager-forum/adobe-experience-manager.topic.html/forum__oixb-in_aem_6_2_wehave.html