1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-24 06:21:28 +00:00

use clean_filename() instead of basename()/clean() combinations in a bunch of places

This commit is contained in:
Andrew Dolgov
2019-08-16 09:31:16 +03:00
parent 9c366a4811
commit d94348421d
3 changed files with 3 additions and 3 deletions

View File

@@ -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']);