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

Misc fixes #24

Merged
merged 2 commits into from
Dec 23, 2020
Merged

Misc fixes #24

merged 2 commits into from
Dec 23, 2020

Commits on Dec 23, 2020

  1. Merge common logic in GET and HEAD handling code.

    There is shared logic in the GET and HEAD codepaths surrounding stat()ing the
    requested file, and sanity checking that the request is indeed valid. This
    commit de-duplicates this code into a single path.
    sysvinit committed Dec 23, 2020
    Configuration menu
    Copy the full SHA
    84062f7 View commit details
    Browse the repository at this point in the history
  2. Create files without the executable bit set.

    There's no particular reason why uploaded files should have the executable bit
    set, and doing so probably has vague security implications.
    sysvinit committed Dec 23, 2020
    Configuration menu
    Copy the full SHA
    ce597ed View commit details
    Browse the repository at this point in the history