Diff options
authorBryce Kwon <bryce@brycekwon.com>
committerBryce Kwon <bryce@brycekwon.com>
commit
parent
tree
download
Serve only the files a dumb clone asks for
The object path check let any run of safe characters through, so a spelling such as info//alternates or info/./alternates reached the alternates file the exact name was refused for.
-rw-r--r--source/ui-clone.c37
-rwxr-xr-xtests/t0301-security.sh4
-rwxr-xr-xtests/t0303-robustness.sh10
3 files changed, 30 insertions, 21 deletions