From 9aeb9c1cff168e688d3a5346e87930925e15dff8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ragnar=20Brynj=C3=BAlfsson?= Date: Wed, 26 Apr 2023 19:51:57 +0200 Subject: [PATCH] Converting URL's to lower case. --- pbp/panelbypanel.php | 1 + 1 file changed, 1 insertion(+) diff --git a/pbp/panelbypanel.php b/pbp/panelbypanel.php index 0e2060d..1c22769 100644 --- a/pbp/panelbypanel.php +++ b/pbp/panelbypanel.php @@ -39,6 +39,7 @@ public function __construct() { private function set_root() { $url = (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] === 'on' ? "https" : "http") . "://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]"; + $url = strtolower($url); $delimiter = "pbp.php"; if (strpos($url, 'thumbs.php')) { $delimiter = "thumbs.php";