Files
danbooru/app/logical
evazion 5cf6a43918 sources: fix sources sometimes choosing wrong strategy (fix #3968)
Fix sources choosing the wrong strategy when the referer belongs to a
different site (for example, when uploading a twitter post with a pixiv
referer).

* Fix `match?` to only consider the main url, not the referer.

* Change `match?` to match against a list of domains given by the `domains` method.

* Change `match?` to an instance method.
2018-11-04 13:00:17 -06:00
..
2018-08-24 12:10:51 -07:00
2014-02-28 16:40:11 -08:00
2018-10-22 13:15:33 -07:00
2018-08-03 17:40:00 -07:00
2018-10-17 15:37:47 -07:00
2018-01-13 20:55:52 -08:00
2018-09-11 14:19:17 -07:00
2018-09-11 14:19:17 -07:00
2018-08-24 12:10:51 -07:00
2018-06-23 11:15:14 -07:00
2018-09-11 14:19:17 -07:00
2018-08-24 12:10:51 -07:00
2017-10-12 16:36:17 -07:00
2018-02-22 11:15:42 -08:00
2018-01-13 20:55:52 -08:00
2017-02-21 13:40:52 -08:00