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

Use secure defaults for static middleware. #81

Merged
merged 1 commit into from
Mar 24, 2014

Conversation

nhibberd
Copy link
Contributor

These changes affect the security defaults and will definitely provide better behaviour for the existing users.
Issue #64 - Implementating noDots by default.
Issue #63 - Implementating isNotAbsolute by default tightens up the security to a normal standard.

Previous request on localhost:3000//etc/passwd would print out the contents of /etc/passwd. With the added security, the request will now return 404.

These changes affect the security defaults and will definitely provide better behaviour for the existing users.
Issue scotty-web#64 - Implementating noDots by default.
Issue scotty-web#63 - Implementating isNotAbsolute by default tightens up the security to a normal standard.

Previous request on `localhost:3000//etc/passwd` would print out the contents of `/etc/passwd`. With the added security, the request will now return 404.
xich pushed a commit that referenced this pull request Mar 24, 2014
Use secure defaults for static middleware.
@xich xich merged commit 256c9fe into scotty-web:master Mar 24, 2014
xich pushed a commit that referenced this pull request Sep 18, 2015
Use secure defaults for static middleware.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants