From 3bd865f6859635d582a4a835e2d28019ec6134bd Mon Sep 17 00:00:00 2001 From: Thomas Christlieb Date: Tue, 7 Nov 2017 19:58:33 +0100 Subject: [PATCH] Make sure is lowercase. Fixes #35 --- helper.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/helper.php b/helper.php index 50e7ad3..33b9161 100644 --- a/helper.php +++ b/helper.php @@ -42,6 +42,9 @@ function orph_callback_search_wanted(&$data, $base, $file, $type, $lvl, $opts) { // get id of this file $id = pathID($file); + // make sure ID is lowercase + $id = utf8_strtolower($id); + //check ACL if(auth_quickaclcheck($id) < AUTH_READ) { return false;