summaryrefslogtreecommitdiff
path: root/include/functions.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2019-08-16 12:53:51 +0300
committerAndrew Dolgov <[email protected]>2019-08-16 12:53:51 +0300
commit88077702f3a517a0c5b3dbf52acc3f2f51bc6c62 (patch)
tree17da7c296a12ce21368ce260afdf9b7eb2a566c2 /include/functions.php
parent24f55d5b919d4b39664b245e51c1d7b984a9966c (diff)
parenta2d26867e653d34a80e504478ebe30ff69ef4a33 (diff)
Merge branch 'master' of git.fakecake.org:tt-rss
Diffstat (limited to 'include/functions.php')
-rw-r--r--include/functions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/functions.php b/include/functions.php
index c326ac468..e78f0de9d 100644
--- a/include/functions.php
+++ b/include/functions.php
@@ -593,7 +593,7 @@
}
function clean_filename($filename) {
- return basename(preg_replace("/\.\.|[\/\\\]/", "", $filename));
+ return basename(preg_replace("/\.\.|[\/\\\]/", "", clean($filename)));
}
function make_password($length = 12) {