diff options
author | lolcat <will@lolcat.ca> | 2023-10-16 02:30:43 -0400 |
---|---|---|
committer | lolcat <will@lolcat.ca> | 2023-10-16 02:30:43 -0400 |
commit | 3aa01807741ffad103b9f6a74d878e58f2e828e8 (patch) | |
tree | a06816e71b059d96b5e08f9d304cbc3818e85b48 /lib/curlproxy.php | |
parent | fa9dc4d6efc593b7301229c18b058d90024c939e (diff) |
captcha and imgur, findthatmeme, yep imagesearch
Diffstat (limited to 'lib/curlproxy.php')
-rw-r--r-- | lib/curlproxy.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/curlproxy.php b/lib/curlproxy.php index 93cdbdc..ef9085b 100644 --- a/lib/curlproxy.php +++ b/lib/curlproxy.php @@ -127,6 +127,11 @@ class proxy{ throw new Exception("Too many redirects"); } + if($url == "https://i.imgur.com/removed.png"){ + + throw new Exception("Encountered imgur 404"); + } + // sanitize URL if($this->validateurl($url) === false){ |