]> Lady’s Gitweb - Gitweb/commitdiff
gitweb: fix error in sanitize when highlight is enabled
authorOrgad Shaneh <redacted>
Sun, 30 Dec 2012 11:52:53 +0000 (13:52 +0200)
committerLady <redacted>
Mon, 6 Apr 2026 04:51:32 +0000 (00:51 -0400)
$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 <redacted>
Signed-off-by: Junio C Hamano <redacted>

No differences found
This page took 0.230052 seconds and 4 git commands to generate.