Browse Source

Merge pull request #61 from brossi/master

Allow @ in URLs
tags/0.1
Dev Random 6 years ago
parent
commit
93b39496c4
3 changed files with 3 additions and 3 deletions
  1. 1
    1
      bin/gbuild
  2. 1
    1
      bin/gsign
  3. 1
    1
      bin/gverify

+ 1
- 1
bin/gbuild View File

@@ -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


+ 1
- 1
bin/gsign View File

@@ -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


+ 1
- 1
bin/gverify View File

@@ -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


Loading…
Cancel
Save