HomePhabricator

Improve JSON parameter validation

Authored by Tgr on Feb 17 2018, 2:35 AM.

Description

Improve JSON parameter validation

  • make sure strings are NFC-normalized
  • limit number of operations per batch
  • change validation control flow so that it errors out before doing a bunch of database operations if the JSON data is invalid

Bug: T187103
Change-Id: I343ccac8f8b6fa3e1a2771fa52db9948b3336f46

Details

Committed
TgrFeb 20 2018, 9:46 PM
Parents
rERLS2906e2bd6b2d: build: Updating mediawiki/minus-x to 0.3.1
Branches
Unknown
Tags
Unknown
ChangeId
I343ccac8f8b6fa3e1a2771fa52db9948b3336f46