X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;ds=sidebyside;f=gitweb%2Fgitweb.perl;h=b2bae1b250a5316c85ffb221b3b088c9e8cda8c7;hb=b4833a2c62578bdbfd300e296702214cb1b9a601;hp=f282a677aaed805528770a6df594cbd452b484a4;hpb=04d70bebe72c264a1c4d26cbe306672e3e4098e3;p=git.git diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl index f282a677a..b2bae1b25 100755 --- a/gitweb/gitweb.perl +++ b/gitweb/gitweb.perl @@ -471,9 +471,6 @@ if (defined $searchtype) { our $searchtext = $cgi->param('s'); our $search_regexp; if (defined $searchtext) { - if ($searchtype ne 'grep' and $searchtype ne 'pickaxe' and $searchtext =~ m/[^a-zA-Z0-9_\.\/\-\+\:\@ ]/) { - die_error(undef, "Invalid search parameter"); - } if (length($searchtext) < 2) { die_error(undef, "At least two characters are required for search parameter"); } @@ -3422,7 +3419,7 @@ sub git_project_list_body { "
description | " . esc_html($descr) . " |
owner | $owner |
owner | " . esc_html($owner) . " |
last change | $cd{'rfc2822'} |