[wp-trac] [WordPress Trac] #50620: REST API: regression after introducing changes how block renderer endpoint is now defined
WordPress Trac
noreply at wordpress.org
Sat Jul 11 20:32:34 UTC 2020
#50620: REST API: regression after introducing changes how block renderer endpoint
is now defined
-------------------------------------------------+-------------------------
Reporter: manooweb | Owner:
| TimothyBlynJacobs
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 5.5
Component: REST API | Version: trunk
Severity: normal | Resolution: fixed
Keywords: good-first-bug has-patch has-unit- | Focuses:
tests |
-------------------------------------------------+-------------------------
Changes (by TimothyBlynJacobs):
* owner: (none) => TimothyBlynJacobs
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"48437" 48437]:
{{{
#!CommitTicketReference repository="" revision="48437"
REST API: Sanitize block renderer attributes.
In [48069] the Block Renderer was changed to register a single route for
all dynamic blocks. Validation was dynamically applied based on the
requested block, but sanitization was not. This commit adds the same
sanitization back to the block attributes.
Props manooweb.
Fixes #50620. See #48079.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/50620#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list