From 99fc6fb857eab73ac7f1c51076cabebe71e7cc75 Mon Sep 17 00:00:00 2001 From: gRoussac Date: Thu, 14 Mar 2013 16:55:06 +0100 Subject: [PATCH] // remove additionnal \t --- classes/Tools.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/classes/Tools.php b/classes/Tools.php index eb4b6e73f..add6d0fda 100644 --- a/classes/Tools.php +++ b/classes/Tools.php @@ -987,7 +987,7 @@ class ToolsCore // Remove all non-whitelist chars. if ($allow_accented_chars) - $str = preg_replace('/[^a-zA-Z0-9\s\'\:\/\[\]-\pL]/u', '', $str); + $str = preg_replace('/[^a-zA-Z0-9\s\'\:\/\[\]-\pL]/u', '', $str); else $str = preg_replace('/[^a-zA-Z0-9\s\'\:\/\[\]-]/','', $str); @@ -1288,7 +1288,7 @@ class ToolsCore curl_setopt($curl, CURLOPT_URL, $url); curl_setopt($curl, CURLOPT_CONNECTTIMEOUT, 5); curl_setopt($curl, CURLOPT_TIMEOUT, $curl_timeout); - curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, 0); + curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, 0); $opts = stream_context_get_options($stream_context); if (isset($opts['http']['method']) && Tools::strtolower($opts['http']['method']) == 'post') {