Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve template path filtering #2

Closed
aliles opened this issue May 3, 2012 · 0 comments
Closed

Improve template path filtering #2

aliles opened this issue May 3, 2012 · 0 comments
Labels

Comments

@aliles
Copy link
Owner

aliles commented May 3, 2012

To prevent templates (and potentially static files) being loaded form outside the site directories, template paths are currently filtered for significant path manipulation strings such as '..'.

This filtering should be replaced by determining if the target files physically resides outside the site directory. This will catch any path manipulation strings currently not checked for. As well as preventing symbolic links from being exploited.

@aliles aliles closed this as completed in e575e41 May 14, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant