Skip to main content

Bug Tracker

Side navigation

#7587 closed enhancement (fixed)

Opened November 21, 2010 10:20PM UTC

Closed April 06, 2011 01:36AM UTC

Bypass regexp on $.parseJSON for huge performance gains

Reported by: snover Owned by:
Priority: high Milestone:
Component: core Version: 1.4.4
Keywords: Cc:
Blocked by: Blocking:
Description

$.parseJSON unconditionally runs data through a regular expression to ensure it does not contain any nasty payloads; this is incredibly slow and is not necessary for browsers with native JSON.parse support.

3rd party pull request

Attachments (0)
Change History (5)

Changed November 22, 2010 01:40AM UTC by snover comment:1

component: unfiledcore
priority: undecidedhigh
status: newopen

Changed February 15, 2011 01:35PM UTC by anonymous comment:2

Please, make a decission on this for 1.5.1.

Changed February 23, 2011 12:50PM UTC by RoundCube User comment:3

This should be assigned to Milestone 1.5.1

Other applications (e.g. RoundCube) depend on that issue:

http://trac.roundcube.net/ticket/1487144

Changed March 07, 2011 09:12PM UTC by fracmak comment:4

I've updated the pull request to the latest head: https://github.com/jquery/jquery/pull/264

Changed April 06, 2011 01:36AM UTC by dmethvin comment:5

resolution: → fixed
status: openclosed

Merged pull 300.