Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
gitweb: Call to_utf8() on input string in chop_and_escape_str()
[gitweb.git]
/
gitweb
/
gitweb.perl
diff --git
a/gitweb/gitweb.perl
b/gitweb/gitweb.perl
index 4f0c3bd90c7f90dad1674f50999da534c33c0261..b07703253244e20e3e3c87c5ba7a89b672c491a0 100755
(executable)
--- a/
gitweb/gitweb.perl
+++ b/
gitweb/gitweb.perl
@@
-1695,6
+1695,7
@@
sub chop_and_escape_str {
my ($str) = @_;
my $chopped = chop_str(@_);
+ $str = to_utf8($str);
if ($chopped eq $str) {
return esc_html($chopped);
} else {