Dispatcher Security - .feed extension
Reference Adobe Docs at: Configuring Dispatcher
AEM docs have a rule that “prevents content grabbing” where the feed selector is prevented for extensions json, xml, and html.
# Deny content grabbing for /content and its subtree
/0082 {
/type "deny"
/path "/content/*"
/selectors '(feed|rss|pages|languages|blueprint|infinity|tidy)'
/extension '(json|xml|html)'
}Docs also indicate that the following URLs should all be blocked by your configuration:
/content/add_valid_path_to_a_page/_jcr_content.feed
/content/add_valid_path_to_a_page/jcr:content.feed
/content/add_valid_path_to_a_page/pagename._jcr_content.feed
/content/add_valid_path_to_a_page/pagename.jcr:content.feedHowever, dispatcher configs for content grabbing are not blocking those URLs b/c .feed is the extension. Adding to the confusion, it seems that all of the following page URLs return the same thing:
- /en.feed.html (blocked by dispatcher rule)
- /en.feed (allowed by dispatcher rule)
- /en._jcr_content.feed (allowed by dispatcher rule)Adobe dispatcher rule blocks the selector, but not the extension, even though both return the exact same thing. I'm also curious about the `_jcr_content` / `jcr:content` selector to understand what that triggers and if that should be blocked.
Can someone help me make heads/tails about what should be blocked and what shouldnt be blocked?
