Allow + in urls

git-archive
devrandom 12 years ago
parent f9d155c3ac
commit 8ad9e0dfaf

@ -22,7 +22,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