Bug Tracker

Opened 13 years ago

Closed 12 years ago

#7587 closed enhancement (fixed)

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

Change History (5)

comment:1 Changed 13 years ago by snover

Component: unfiledcore
Priority: undecidedhigh
Status: newopen

comment:2 Changed 12 years ago by anonymous

Please, make a decission on this for 1.5.1.

comment:3 Changed 12 years ago by RoundCube User

This should be assigned to Milestone 1.5.1

Other applications (e.g. RoundCube) depend on that issue: http://trac.roundcube.net/ticket/1487144

comment:4 Changed 12 years ago by fracmak

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

comment:5 Changed 12 years ago by dmethvin

Resolution: fixed
Status: openclosed

Merged pull 300.

Note: See TracTickets for help on using tickets.