Bug Tracker

Opened 6 years ago

Closed 5 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 6 years ago by snover

  • Component changed from unfiled to core
  • Priority changed from undecided to high
  • Status changed from new to open

comment:2 Changed 6 years ago by anonymous

Please, make a decission on this for 1.5.1.

comment:3 Changed 6 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 5 years ago by fracmak

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

comment:5 Changed 5 years ago by dmethvin

  • Resolution set to fixed
  • Status changed from open to closed

Merged pull 300.

Note: See TracTickets for help on using tickets.