summaryrefslogtreecommitdiff
path: root/lib/curlproxy.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/curlproxy.php')
-rw-r--r--lib/curlproxy.php5
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){