Skip to content
Snippets Groups Projects
Commit c65576e8 authored by Russ Fish's avatar Russ Fish
Browse files

Fix the escapeshellarg function, used where checkpass is invoked in backticks.

parent 5ca38dbb
No related branches found
No related tags found
No related merge requests found
......@@ -442,7 +442,7 @@ sub escapeshellarg($)
{
my ($str) = @_;
$str =~ s/(')/'\\''/g;
$str =~ s/[^[:alnum:]]/\\$&/g;
return $str;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment