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
...@@ -442,7 +442,7 @@ sub escapeshellarg($) ...@@ -442,7 +442,7 @@ sub escapeshellarg($)
{ {
my ($str) = @_; my ($str) = @_;
$str =~ s/(')/'\\''/g; $str =~ s/[^[:alnum:]]/\\$&/g;
return $str; return $str;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment