Fix #5078: Pixiv booth upload broken.

Allow image URLs from https://booth.pximg.net to be uploaded. Fix bug
where Booth.pm URLs were incorrectly caught by the Pixiv extractor.
This commit is contained in:
evazion
2022-03-30 03:22:02 -05:00
parent 04551b8154
commit a272c19b98
5 changed files with 77 additions and 1 deletions

View File

@@ -360,6 +360,8 @@ class UploadsControllerTest < ActionDispatch::IntegrationTest
should_upload_successfully("http://wwwew.web.fc2.com/e/405.jpg")
should_upload_successfully("http://www.tinami.com/view/1087268")
should_upload_successfully("https://booth.pximg.net/4ee2c0d9-41fa-4a0e-a30f-1bc9e15d4e5b/i/2586180/331b7c5f-7614-4772-aae2-cb979ad44a6b.png")
end
end
end