anyone know why a service would escape slashes (not backslashes, forward slashes) in their JSON?
like this shit is all {"url":"http:\/\/www.foobar.egg\/web\/site.html"}
anyone know why a service would escape slashes (not backslashes, forward slashes) in their JSON?
like this shit is all {"url":"http:\/\/www.foobar.egg\/web\/site.html"}
@foone if you have JSON in a script tag you need to escape it
this is somewhat analogous to saying if you are going to wear pants on your head you need to take your keys and phone out of your pockets, but hey
@foone I just looked in developer tools and the request I saw had unescaped slashes.
View source shows a script tag with JSON in it, and that also has unescaped slashes for me and doesn't seem to have any escaped slashes.
(Maybe it only does it if there's </ somewhere in the JSON, or something like that?)