[wp-trac] [WordPress Trac] #37192: Validate before sanitizing when processing REST Request arguments
WordPress Trac
noreply at wordpress.org
Sat Jul 2 18:38:09 UTC 2016
#37192: Validate before sanitizing when processing REST Request arguments
---------------------------------------------+--------------------------
Reporter: danielbachhuber | Owner: rachelbaker
Type: defect (bug) | Status: reviewing
Priority: normal | Milestone: 4.6
Component: REST API | Version: 4.4
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests commit | Focuses:
---------------------------------------------+--------------------------
Comment (by westonruter):
In [changeset:"37942"]:
{{{
#!CommitTicketReference repository="" revision="37942"
Customize: Reverse order of setting sanitization/validation, validating
prior to sanitizing.
Reverses order where sanitization was being applied before validation
originally in accordance with REST API logic.
Props westonruter, schlessera.
See #34893.
See #37192.
Fixes #37247.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37192#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list