Diff options
authorBryce Kwon <bryce@brycekwon.com>
committerBryce Kwon <bryce@brycekwon.com>
commit
parent
tree
download
Harden the blob view error paths
A blob requested by ref with an unknown path fell through to the commit object and was served with a 200 instead of a 404. Two error pages passed a null pointer to a %s format when the request carried no object id, and the error pages left the layout open.
-rw-r--r--source/ui-blame.c5
-rw-r--r--source/ui-blob.c9
-rw-r--r--source/ui-plain.c4
-rw-r--r--source/ui-tree.c22
4 files changed, 27 insertions, 13 deletions