diff options
author | Andrew Dolgov <[email protected]> | 2019-08-16 09:31:16 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2019-08-16 09:31:16 +0300 |
commit | d94348421d8d791eec29afd2e01fb1c9ba181de1 (patch) | |
tree | d58719424fe0ec863ae7b76c566167247b745cb8 /classes/rpc.php | |
parent | 9c366a4811dd0b919171f3de04c4cd781c5e8e20 (diff) |
use clean_filename() instead of basename()/clean() combinations in a bunch of places
Diffstat (limited to 'classes/rpc.php')
-rwxr-xr-x | classes/rpc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/rpc.php b/classes/rpc.php index 8736cbb65..84c9cfe92 100755 --- a/classes/rpc.php +++ b/classes/rpc.php @@ -572,7 +572,7 @@ class RPC extends Handler_Protected { function log() { $msg = clean($_REQUEST['msg']); - $file = basename(clean($_REQUEST['file'])); + $file = clean_filename($_REQUEST['file']); $line = (int) clean($_REQUEST['line']); $context = clean($_REQUEST['context']); |