mirror of
https://github.com/gnh1201/caterpillar.git
synced 2025-02-06 06:55:00 +00:00
Update index.php
This commit is contained in:
parent
0bfc39a5e9
commit
376fd71b07
|
@ -643,7 +643,8 @@ if (!$is_httpproxy) {
|
||||||
// prevent an image file requests
|
// prevent an image file requests
|
||||||
foreach ($relay_image_file_extensions as $file_extension) {
|
foreach ($relay_image_file_extensions as $file_extension) {
|
||||||
if (strpos($proxy_url, $file_extension) !== false) {
|
if (strpos($proxy_url, $file_extension) !== false) {
|
||||||
exit("data:image/gif;base64,R0lGODlhAQABAAAAACwAAAAAAQABAAA=");
|
header("Location: https://http.cat/images/200.jpg");
|
||||||
|
exit("");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user