Issues with hosting a static HTML in the JCR/AEM

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.





Comments

  1. Baccarat | Poker | Free Baccarat, Roulette, Craps, Baccarat
    Baccarat is a variant of American, Spanish and French French. 메리트카지노 This version also features choegocasino 6 바카라사이트 or 7 decks of fixed-odds. In this variant,

    ReplyDelete

Post a Comment

Popular posts from this blog

what’s new in AEM 6.4 ?

AEM Sites Implementation/Installation Guide

AEM 6.4 Service Pack 1