Skip to content

Conversation

@meghuizen
Copy link

Using the native JSON.parse built-in function in the browsers if it's available.
Adds more security to it, so the autocomplete is less prone to XSS attacks.

Using the native JSON.parse built-in function in the browsers if it's available. Adds more security to it, so the autocomplete is less prone to XSS attacks.
@tkirda
Copy link
Member

tkirda commented Nov 15, 2012

I agree with you. Although it might break some implementations if it used not proper JSON format. jQuery actualy has parse JSON method: http://api.jquery.com/jQuery.parseJSON/.

Will update to use that.

@tkirda tkirda closed this Nov 15, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants