]> Lady’s Gitweb - Gitweb/blobdiff - gitweb.perl
gitweb: Call to_utf8() on input string in chop_and_escape_str()
[Gitweb] / gitweb.perl
index 0dc7e27b9ebecc4f93666955af4d70b708a01f0ccab37a901fd1166ab5c622c2..33a89d57d8fcd00f4bd701b9f4c0a35d35be337285c0efde22bd71c2f992d54d 100755 (executable)
@@ -1697,6 +1697,7 @@ sub chop_and_escape_str {
        my ($str) = @_;
 
        my $chopped = chop_str(@_);
        my ($str) = @_;
 
        my $chopped = chop_str(@_);
+       $str = to_utf8($str);
        if ($chopped eq $str) {
                return esc_html($chopped);
        } else {
        if ($chopped eq $str) {
                return esc_html($chopped);
        } else {
This page took 0.293972 seconds and 4 git commands to generate.