Browse Source

Allow @ in URLs so Gitian-Builder works against source stored on BitBucket.

tags/0.1
Ben Rossi 6 years ago
parent
commit
feef35616b
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