Author: bhofmann
Date: Tue Nov 2 09:37:13 2010
New Revision: 1029980
URL: http://svn.apache.org/viewvc?rev=1029980&view=rev
Log:
SHINDIG-1458: fixed utf8 over decoding in MakeRequestHandler
Modified:
shindig/trunk/php/src/gadgets/MakeRequestHandler.php
Modified: shindig/trunk/php/src/gadgets/MakeRequestHandler.php
URL:
http://svn.apache.org/viewvc/shindig/trunk/php/src/gadgets/MakeRequestHandler.php?rev=1029980&r1=1029979&r2=1029980&view=diff
==============================================================================
--- shindig/trunk/php/src/gadgets/MakeRequestHandler.php (original)
+++ shindig/trunk/php/src/gadgets/MakeRequestHandler.php Tue Nov 2 09:37:13
2010
@@ -54,9 +54,6 @@ class MakeRequestHandler extends ProxyBa
$responseArray = array_merge($responseArray, $result->getMetadatas());
$json = array($params->getHref() => $responseArray);
$json = json_encode($json);
- if (strpos($json, '\u')) {
- $json = $this->makeRequest->decodeUtf8($json);
- }
$output = UNPARSEABLE_CRUFT . $json;
if ($responseArray['rc'] == 200) {
// only set caching headers if the result was 'OK'