From: Christian Weiske Date: Tue, 19 Dec 2017 20:18:21 +0000 (+0100) Subject: Allow albums with two dots in them X-Git-Url: https://git.cweiske.de/noxon-gateway.git/commitdiff_plain/58e37edfab922c69de3e2cae54fa7fcbe5378eb5 Allow albums with two dots in them Examples: - "Genau, genau, genau...!" - "Oops!..I Did It Again" --- 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; }