Files
danbooru/app/logical
evazion d946a84480 iqdb: download files inside danbooru, not inside iqdb.
Instead of sending IQDB the image url and letting it download the file,
download the file on Danbooru's end and send IQDB the downloaded file.

This fixes several issues:

* Some sites need the referer header set to avoid hotlink protection
  when downloading the file. Danbooru knows how to deal with this but
  IQDB doesn't.

* We need to enforce certain restrictions when downloading files,
  including setting max filesize limits, setting max timeouts, and not
  allowing downloads from forbidden IPs (to avoid SSRF attacks).
  Danbooru knows how to handle these things but IQDB doesn't.
2019-10-26 15:02:07 -05:00
..
2019-09-27 21:12:53 -05:00
2019-08-30 20:03:36 -05:00
2019-08-01 00:06:18 -05:00
2018-09-11 14:19:17 -07:00
2018-08-24 12:10:51 -07:00
2018-08-24 12:10:51 -07:00
2017-10-12 16:36:17 -07:00