Comments fixing
authorgggeek <giunta.gaetano@gmail.com>
Sun, 12 Apr 2015 11:44:05 +0000 (12:44 +0100)
committergggeek <giunta.gaetano@gmail.com>
Sun, 12 Apr 2015 11:44:05 +0000 (12:44 +0100)
src/Helper/Charset.php
src/Response.php

index b934041..a4064d8 100644 (file)
@@ -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('&amp;', '&quot;', '&apos;', '&lt;', '&gt;'), $data);
                 break;
             case 'UTF-8_':
index 90980ac..6ed243a 100644 (file)
@@ -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;