瀏覽代碼

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

tags/0.1
Ben Rossi 7 年之前
父節點
當前提交
feef35616b
共有 3 個檔案被更改,包括 3 行新增3 行删除
  1. 1
    1
      bin/gbuild
  2. 1
    1
      bin/gsign
  3. 1
    1
      bin/gverify

+ 1
- 1
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


+ 1
- 1
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


+ 1
- 1
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


Loading…
取消
儲存