Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I have noticed that all templates are accessible from the root of the website.
Ie: I have a template that is used in my menu called chickens, it should only be called from the location http://website.com/menuoption1/chicken
http://website.com/chicken will also run that template or any other template I have created.
This is a worrying development. If anyone could shed some light on it as to why it should happen or if it is a bug etc.
Hi Damien,
That's because of the Alt Template feature, more info here.
Check out the comments in this discussion. Removing the following line from 404handlers.configshould disable it.
404handlers.config
<notFound assembly="umbraco" type="SearchForTemplate"/>
Thanks, Matt.
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Possible Security Issue - Templates accessible from root
I have noticed that all templates are accessible from the root of the website.
Ie: I have a template that is used in my menu called chickens, it should only be called from the location http://website.com/menuoption1/chicken
http://website.com/chicken will also run that template or any other template I have created.
This is a worrying development. If anyone could shed some light on it as to why it should happen or if it is a bug etc.
Hi Damien,
That's because of the Alt Template feature, more info here.
Check out the comments in this discussion. Removing the following line from
404handlers.config
should disable it.Thanks, Matt.
is working on a reply...