diff options
author | Andrew Dolgov <[email protected]> | 2019-08-16 12:53:51 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2019-08-16 12:53:51 +0300 |
commit | 88077702f3a517a0c5b3dbf52acc3f2f51bc6c62 (patch) | |
tree | 17da7c296a12ce21368ce260afdf9b7eb2a566c2 /include/functions.php | |
parent | 24f55d5b919d4b39664b245e51c1d7b984a9966c (diff) | |
parent | a2d26867e653d34a80e504478ebe30ff69ef4a33 (diff) |
Merge branch 'master' of git.fakecake.org:tt-rss
Diffstat (limited to 'include/functions.php')
-rw-r--r-- | include/functions.php | 2 |
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) { |