diff --git a/bin/gbuild b/bin/gbuild index 12e8f4f..e3f5c16 100755 --- a/bin/gbuild +++ b/bin/gbuild @@ -27,7 +27,7 @@ def sanitize(str, where) end def sanitize_path(str, where) - raise "unsanitary string in #{where}" if (str =~ /[^\w\/.:+-]/) + raise "unsanitary string in #{where}" if (str =~ /[^@\w\/.:+-]/) str end diff --git a/bin/gsign b/bin/gsign index 67c20f0..665e8ac 100755 --- a/bin/gsign +++ b/bin/gsign @@ -17,7 +17,7 @@ def sanitize(str, where) end def sanitize_path(str, where) - raise "unsanitary string in #{where}" if (str =~ /[^\w\/.-]/) + raise "unsanitary string in #{where}" if (str =~ /[^@\w\/.:+-]/) str end diff --git a/bin/gverify b/bin/gverify index 67ae337..84845af 100755 --- a/bin/gverify +++ b/bin/gverify @@ -17,7 +17,7 @@ def sanitize(str, where) end def sanitize_path(str, where) - raise "unsanitary string in #{where}" if (str =~ /[^@\w\/. -]/) + raise "unsanitary string in #{where}" if (str =~ /[^@\w\/.:+-]/) str end