We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Leading / is prohibited, but an archive containing this file could cause problems on extract:
../../../../../../../../../../../../Users/you/.ssh/authorized_keys
Or even:
dir1 dir1/somefile dir1/dir2 dir1/dir2/../../../../../../../../../../../../Users/you/.ssh/authorized_keys
Any path containing ".." should be prohibited just like those starting with "/"
Probably something like this... not sure if this is robust enough:
for dir := range strings.Split(path, os.PathSeparator) { if dir == ".." { barf } }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Leading / is prohibited, but an archive containing this file could cause problems on extract:
Or even:
Any path containing ".." should be prohibited just like those starting with "/"
Probably something like this... not sure if this is robust enough:
The text was updated successfully, but these errors were encountered: