summaryrefslogtreecommitdiff
path: root/sha1_name.c
diff options
context:
space:
mode:
authorLibravatar Orgad Shaneh <orgads@gmail.com>2012-12-30 13:52:53 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-01-01 16:27:27 -0800
commit0e901d24fd70630ffed5411e6217c2dfce9c8da6 (patch)
treeb67631a2c0b023a1bc45f2a304cac83c0347d198 /sha1_name.c
parentGit 1.7.9.7 (diff)
downloadtgif-0e901d24fd70630ffed5411e6217c2dfce9c8da6.tar.xz
gitweb: fix error in sanitize when highlight is enabled
$1 becomes undef by internal regex, since it has no capture groups. Match against accpetable control characters using index() instead of a regex. Signed-off-by: Orgad Shaneh <orgads@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'sha1_name.c')
0 files changed, 0 insertions, 0 deletions