git.cweiske.de
/
noxon-gateway.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Allow albums with two dots in them
[noxon-gateway.git]
/
www
/
index.php
diff --git
a/www/index.php
b/www/index.php
index 1ec3bf1de81f0341cbeb5110c6515edb133e376a..abbe69890cffa619396c73101ba2fbdaae63b93b 100644
(file)
--- 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;
}