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

File upload/download not honoring directories #2

Open
Hardcore-fs opened this issue Jan 30, 2012 · 0 comments
Open

File upload/download not honoring directories #2

Hardcore-fs opened this issue Jan 30, 2012 · 0 comments

Comments

@Hardcore-fs
Copy link
Owner

consider:

curl -v -0 -T DSCN0369.JPG http://192.168.5.177/upload/

This should upload to the upload directory, but if there is not a directory existing, then the file goes into the "root" /
with possible security issues.

Furthermore
on initial inspection:
http://192.168.5.177/upload/DSCN0369.JPG

pulls the file back.
But so does.........
http://192.168.5.177/hello_big_boy/DSCN0369.JPG

Even if the directory does not exist, then the file can be returned.

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

No branches or pull requests

1 participant