Browse Source

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

pull/61/head
Ben Rossi 8 years ago
parent
commit
feef35616b
  1. 2
      bin/gbuild
  2. 2
      bin/gsign
  3. 2
      bin/gverify

2
bin/gbuild

@ -27,7 +27,7 @@ def sanitize(str, where) @@ -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

2
bin/gsign

@ -17,7 +17,7 @@ def sanitize(str, where) @@ -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

2
bin/gverify

@ -17,7 +17,7 @@ def sanitize(str, where) @@ -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