Skip to content

avoid leaking full directory path #36

Open
@piramiday

Description

@piramiday

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions