Commit Briefs
wip (op/gotwebd-auth)
gotwebd: handle the ?login query parameter
for now the token is just a dummy "42". We still need to parse this in incoming requests too.
gotwebd: start to implement the auth feature
rearranged the code a bit; let's use a bufferevent since we're not going to use imsg for this anyway. for now it just replies back with a dummy URL.
improve binary blob detection
just like the change just done in diff.git, consider a blob binary if it has any control character (except for the tabs) joint work with jtt@, ok stsp@
sync files from diff.git 543aed44ef221a67c386d967ec45907fb129194b
improve binary files detection instead of 'just' looking for NUL, consider a file binary if it has any control charcters (except our beloved tabs characters). joint work with jtt@, ok stsp@
preserve bad symlinks across merges
ok stsp@ and op@
fix math in fcgi_send_response
We can't hit actually hit this because our buffers are way smaller than FCGI_CONTENT_SIZE (65536) but if we were, we'd end up sending wrong fastcgi packets. found with / ok stsp@
the gotsys auth/hmac index must be globally unique, not unique per repository
tested by Mischa Peters
fix gotsysd using wrong auth and hmac labels in the generated gotd.conf
Problem reported by Mischa Peters