Skip to content

Commit

Permalink
In do_search, look for illegal files regardless of how $c arrives
Browse files Browse the repository at this point in the history
  • Loading branch information
Greg Sabino Mullane authored and Greg Sabino Mullane committed Feb 18, 2010
1 parent 3de5e8f commit e6e313e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/Vend/Page.pm
Expand Up @@ -189,9 +189,10 @@ sub do_search {
# the CGI values.
if (!is_hash($c)) {
$c = find_search_params(\%CGI::values);
_check_search_file($c);
}

_check_search_file($c);

if ($c->{mv_more_matches}) {
$Vend::Session->{last_search} = "scan/MM=$c->{mv_more_matches}";
$c->{mv_more_matches} =~ m/([a-zA-Z0-9])+/;
Expand Down

0 comments on commit e6e313e

Please sign in to comment.