mirror of
https://github.com/discourse/discourse.git
synced 2025-06-01 07:37:55 +08:00
FIX: handle encoded mailto links when looking for upload record
This commit is contained in:
@ -87,6 +87,7 @@ describe Upload do
|
||||
|
||||
it "doesn't blow up with an invalid URI" do
|
||||
expect { Upload.get_from_url("http://ip:port/index.html") }.not_to raise_error
|
||||
expect { Upload.get_from_url("mailto:admin%40example.com") }.not_to raise_error
|
||||
end
|
||||
|
||||
describe "s3 store" do
|
||||
|
Reference in New Issue
Block a user