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

avoid leaking full directory path #36

Open
piramiday opened this issue May 7, 2021 · 1 comment
Open

avoid leaking full directory path #36

piramiday opened this issue May 7, 2021 · 1 comment

Comments

@piramiday
Copy link

piramiday commented May 7, 2021

I think it would be useful to disable leaking the full directory path in the upper label.
if the server's owner decides to point updog to a certain folder, that should be the root of the webserver, full stop.

e.g. in the main example:

Directory: /home/sc0tfree

vs. something like:

Directory: /

I will never want to disclose the real path of the folder in which updog operates, but if somebody else believes otherwise, then this could be an option, rather than a hardcoded change.

EDIT: also, this "chrooted" behavior is more in line with python's http.server than displaying the full directory listing.

@wuzhaoqi1015
Copy link

wuzhaoqi1015 commented Mar 30, 2022

can no longer agree

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

2 participants