Some documents, such as /en/shared/includes/footer, teasers, etc. are meant to be included by other "real" documents, but not viewable by itself.
e.g. https://demo-basic.pimcore.org/en/shared/includes/footer is only for internal use.
https://demo-basic.pimcore.org/en/shared/includes/footer is visible.
Visit https://demo-basic.pimcore.org/en/shared/includes/footer
Snippets are by design public available, that's not a bug, but we can discuss whether this makes sense or not, but in any way it would be a BC break.
@brusch ok. I'd suggest on Pimcore 7 snippets should be private, unless there's a common use case it should be public?
Having them public could potentially be security risk. Documents can be secured with authentication, but maybe admins don't realize that snippets (with non public contents) need to be secured individually as well.
I agree with @ceefour here. Guess the document router should just not pick up on Snippets outside the admin context. Wouldn鈥檛 even be a BC IMO since they shouldn鈥檛 be used publicly anyway