-
Notifications
You must be signed in to change notification settings - Fork 10k
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
Add protection against directory traversal attacks #10304
Conversation
Looks good. Could you squash the commits into one? Refer to https://github.com/mozilla/pdf.js/wiki/Squashing-Commits. |
Done! I'm so used to using merge+squash on GitHub that I don't usually think of doing that anymore. :) |
Sounds good. I'm at the Mozilla All-Hands this week so I'll try to get this updated, but otherwise I will get it fixed first thing next week. |
Alright, the requested changes have been made. :) |
/botio-linux preview |
From: Bot.io (Linux m4)ReceivedCommand cmd_preview from @timvandermeij received. Current queue size: 0 Live output at: http://54.67.70.0:8877/275d0aaba250802/output.txt |
From: Bot.io (Linux m4)SuccessFull output at http://54.67.70.0:8877/275d0aaba250802/output.txt Total script time: 1.61 mins Published |
Thank you for fixing this! |
This prevents people from making a request such as:
$ curl --path-as-is 'http://127.0.0.1:8888/../../../../../../../../../etc/passwd'