Allow @ in URLs
@ -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
@ -17,7 +17,7 @@ def sanitize(str, where)
raise "unsanitary string in #{where}" if (str =~ /[^\w\/.-]/)
raise "unsanitary string in #{where}" if (str =~ /[^@\w\/. -]/)