thecocce / php-wsdl-creator

Automatically exported from code.google.com/p/php-wsdl-creator
GNU General Public License v3.0
0 stars 0 forks source link

error parsing json server response #15

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
error in parsing json because of wrong regexp in server 

change line 1275 of class.phpwsdl.servers.php to 
        $json=preg_replace('/([^\\\])\\n/','\\n',$json);

add one more \ before ] in regexp

Original issue reported on code.google.com by c...@startx.fr on 24 Oct 2012 at 8:03

GoogleCodeExporter commented 9 years ago
I've tested this patch and it is working - thank you :)
Now we only have to wait until the project-owner merges it :/

Original comment by moritzgrosch@gmail.com on 18 Apr 2014 at 9:05