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

httpd: disallow directory traversal #70

Merged
merged 1 commit into from
Apr 17, 2015
Merged

httpd: disallow directory traversal #70

merged 1 commit into from
Apr 17, 2015

Conversation

maxnet
Copy link
Contributor

@maxnet maxnet commented Mar 29, 2015

Do not process HTTP requests that have .. in the URL.
Provides very basic protection against directory traversal outside of webroot.

In the long run, it might be better to add a more sophisticated check than this.
But that will likely require platform specific code.

Signed-off-by: Floris Bos <bos@je-eigen-domein.nl>
@bk138
Copy link
Member

bk138 commented Apr 17, 2015

Very basic, but well :-)

bk138 added a commit that referenced this pull request Apr 17, 2015
httpd: disallow directory traversal
@bk138 bk138 merged commit 1071094 into LibVNC:master Apr 17, 2015
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