Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.

Why I am able to browse nonexsiting node

Avatar

Level 5

Hi All,

I am browsing a URL, complete URL is http://localhost:4502/content/dam/a.childrenlist.json.​ I am getting successful response with below content.

In HTML format: http://localhost:4502/content/dam/a.childrenlist.html

1849012_pastedImage_10.png

In JSON format: http://localhost:4502/content/dam/a.childrenlist.json

{

  "parent": {

    "path": "/content/dam/a.childrenlist.json",

    "resourceType": "sling:nonexisting",

    "label": "a.childrenlist.json",

    "hasChildren": false,

    "title": "a.childrenlist.json"

  }

}

But when I go and search this a node/file in crx, I couldn't find anything with a under dam(below is the screenshot). It seems resource is not available; and in this case ideally system should response with status code 404. So can someone please explain what is happening here and how I can stop this?

1849011_pastedImage_3.png

Thank you in advance.

Thank You!

_Rashid

0 Replies