From 58e37edfab922c69de3e2cae54fa7fcbe5378eb5 Mon Sep 17 00:00:00 2001 From: Christian Weiske Date: Tue, 19 Dec 2017 21:18:21 +0100 Subject: [PATCH] Allow albums with two dots in them Examples: - "Genau, genau, genau...!" - "Oops!..I Did It Again" --- www/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/index.php b/www/index.php index 1ec3bf1..abbe698 100644 --- a/www/index.php +++ b/www/index.php @@ -30,7 +30,7 @@ handleRequest(ltrim($path, '/')); function handleRequest($path) { global $varDir; - if (strpos($path, '..') !== false) { + if (strpos($path, '/../') !== false) { sendMessage('No'); return; } -- 2.30.2