note 100679 deleted from function.json-encode by cmb

From: Date: Sun, 04 Nov 2018 09:35:31 +0000
Subject: note 100679 deleted from function.json-encode by cmb
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-209593@lists.php.net to get a copy of this message
Note Submitter: php at ianco dot co dot uk ---- Note that json_encode always escapes a solidus (forward slash, %x2F). This may be a problem if you are encoding a URL. It's been recognised and fixed in September 2010: http://bugs.php.net/bug.php?id=49366 But escaping will still be the default behaviour. A crude repair can be done with str_replace('\\/', '/', $jsonEncoded)

« previous php.notes (#209593) next »