From: gggeek Date: Sun, 12 Apr 2015 11:44:05 +0000 (+0100) Subject: Comments fixing X-Git-Tag: 4.0.0-alpha^2~94 X-Git-Url: http://git.onelab.eu/?p=plcapi.git;a=commitdiff_plain;h=f7815d511de0760616a58cfb3c1161242a216c9d Comments fixing --- diff --git a/src/Helper/Charset.php b/src/Helper/Charset.php index b934041..a4064d8 100644 --- a/src/Helper/Charset.php +++ b/src/Helper/Charset.php @@ -110,7 +110,7 @@ class Charset case 'US-ASCII_': case 'US-ASCII_ISO-8859-1': case 'UTF-8_UTF-8': - //case 'CP1252_CP1252': + //case 'CP1252_CP1252': $escapedData = str_replace(array('&', '"', "'", '<', '>'), array('&', '"', ''', '<', '>'), $data); break; case 'UTF-8_': diff --git a/src/Response.php b/src/Response.php index 90980ac..6ed243a 100644 --- a/src/Response.php +++ b/src/Response.php @@ -33,7 +33,6 @@ class Response // error response $this->errno = $fCode; $this->errstr = $fString; - //$this->errstr = htmlspecialchars($fString); // XXX: encoding probably shouldn't be done here; fix later. } else { // successful response $this->val = $val;