From 905c85813a24f02050421df8a7b1bf7ffbf4d987 Mon Sep 17 00:00:00 2001 From: Jacek Kowalski <Jacek@jacekk.info> Date: Sat, 01 Nov 2014 23:52:41 +0000 Subject: [PATCH] [core] Zablokowanie przetwarzania XML External Entities --- data/tv/xmltv_parse.php | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/data/tv/xmltv_parse.php b/data/tv/xmltv_parse.php index 4a9976b..220cc60 100644 --- a/data/tv/xmltv_parse.php +++ b/data/tv/xmltv_parse.php @@ -37,7 +37,7 @@ $line = explode("\t", $line); for($i=0; $i<count($line); $i++) { - if($tv!==NULL AND funcs::utfToAscii($line[$i])==$tv) { + if($tv !== NULL AND funcs::utfToAscii($line[$i]) == $tv) { return $line[0]; } else @@ -47,7 +47,7 @@ } } - if($tv!==NULL) { + if($tv !== NULL) { return FALSE; } else -- Gitblit v1.9.1