summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f9308a1)
raw | patch | inline | side by side (parent: f9308a1)
author | Li Yang <leoli@freescale.com> | |
Tue, 6 Mar 2007 03:58:56 +0000 (11:58 +0800) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Sun, 25 Mar 2007 05:25:40 +0000 (22:25 -0700) |
Change to use explicitly function call cgi->escapHTML().
This fix the problem on some systems that escapeHTML() is not
functioning, as default CGI is not setting 'escape' parameter.
Signed-off-by: Li Yang <leoli@freescale.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
This fix the problem on some systems that escapeHTML() is not
functioning, as default CGI is not setting 'escape' parameter.
Signed-off-by: Li Yang <leoli@freescale.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
gitweb/gitweb.perl | patch | blob | history |
diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl
index ea39d7e98bb646897d1bb1f1e270b1cd2fc046ad..775eebe0f38568afaa7bcee67560125628e88c6c 100755 (executable)
--- a/gitweb/gitweb.perl
+++ b/gitweb/gitweb.perl
my %opts = @_;
$str = to_utf8($str);
- $str = escapeHTML($str);
+ $str = $cgi->escapeHTML($str);
if ($opts{'-nbsp'}) {
$str =~ s/ / /g;
}
my %opts = @_;
$str = to_utf8($str);
- $str = escapeHTML($str);
+ $str = $cgi->escapeHTML($str);
if ($opts{'-nbsp'}) {
$str =~ s/ / /g;
}