From 75bb9d7edad717a339300d6b4323dcc3939c27e5 Mon Sep 17 00:00:00 2001 From: MarkBaker Date: Wed, 29 Apr 2015 22:41:54 +0100 Subject: [PATCH] Fix regexp for XEE validation --- Classes/PHPExcel/Reader/Abstract.php | 2 +- Classes/PHPExcel/Reader/HTML.php | 15 +++++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/Classes/PHPExcel/Reader/Abstract.php b/Classes/PHPExcel/Reader/Abstract.php index 0036dff9..2d3c964b 100644 --- a/Classes/PHPExcel/Reader/Abstract.php +++ b/Classes/PHPExcel/Reader/Abstract.php @@ -235,7 +235,7 @@ abstract class PHPExcel_Reader_Abstract implements PHPExcel_Reader_IReader */ public function securityScan($xml) { - $pattern = '/\0?<\0?!\0?E\0?N\0?T\0?I\0?T\0?Y\0?/'; + $pattern = '/\\0?' . implode('\\0?', str_split('