Skip to content

Commit

Permalink
Merge pull request #36 from ThomasChr/master
Browse files Browse the repository at this point in the history
Make sure $id is lowercase. Fixes #35
  • Loading branch information
jaller94 committed Nov 7, 2017
2 parents b0cf017 + 3bd865f commit 625b950
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions helper.php
Expand Up @@ -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;
Expand Down

0 comments on commit 625b950

Please sign in to comment.