From 7b15121b8f4bdc768e8958b50429bdb2683cf1f7 Mon Sep 17 00:00:00 2001 From: Ken Fallon Date: Tue, 14 Jan 2025 17:46:28 +0100 Subject: [PATCH] Allow head method --- hub/ccdn.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hub/ccdn.php b/hub/ccdn.php index 0189552..db1a2fd 100644 --- a/hub/ccdn.php +++ b/hub/ccdn.php @@ -8,7 +8,7 @@ require "/home/hpr/php/include.php"; $ip = $_SERVER["REMOTE_ADDR"]; -if ( $_SERVER['REQUEST_METHOD'] !== 'GET' ) { +if ( $_SERVER['REQUEST_METHOD'] !== 'GET' && $_SERVER['REQUEST_METHOD'] !== 'HEAD' ) { naughty("34522f7b9ba88b319afa9f063b98905c"); }