-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
backslashes in URLs #12
Comments
I think part of the confusion comes from the more easier to understand http://json.org, where it says the forward slash (or solidus, I guess? I've never heard that word) is to be escaped (see diagram defining a string). Update: I guess you could interpret that escaping the forward slash is optional from what it says, but from looking at it, I would definitely escape them, as that's definitely "legal." Some languages seem to escape the forward slash, like PHP's I would guess that not all of the JSON is hand authored on caniuse, and that they are using something to encode a more manageable object/array and then encoding it to JSON for the site. It should be noted, both methods mentioned above were able to correctly decode/parse JSON with and without escaped forward slashes. |
Yeah, this was unintentional, and has now been fixed. Thanks for pointing it out! :) |
Is it for escaping? According to http://www.ietf.org/rfc/rfc4627.txt it's not really required.
The text was updated successfully, but these errors were encountered: