summaryrefslogtreecommitdiff
path: root/builtin/init-db.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2015-03-13 22:55:59 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2015-03-13 22:55:59 -0700
commitc722ba4814f34d02faed305e4cc6498c783543a9 (patch)
treecdf6603541229f3878ac3a8b70e88bf34f5aba69 /builtin/init-db.c
parentGit 2.3.2 (diff)
parentdaemon: sanitize incoming virtual hostname (diff)
downloadtgif-c722ba4814f34d02faed305e4cc6498c783543a9.tar.xz
Merge branch 'jk/daemon-interpolate' into maint
The "interpolated-path" option of "git daemon" inserted any string client declared on the "host=" capability request without checking. Sanitize and limit %H and %CH to a saner and a valid DNS name. * jk/daemon-interpolate: daemon: sanitize incoming virtual hostname t5570: test git-daemon's --interpolated-path option git_connect: let user override virtual-host we send to daemon
Diffstat (limited to 'builtin/init-db.c')
0 files changed, 0 insertions, 0 deletions