Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implicit whitelisting for API requests #855

Merged
merged 1 commit into from
Feb 16, 2017

Conversation

muddletoes
Copy link
Contributor

To mitigate the security risk of exposing arbitrary class construction methods to execution via a GET request, the api_requests() method now only instantiates those classes for which an job_manager_api_$api action hook has been registered.

To mitigate the security risk of exposing arbitrary class construction methods to execution via a GET request, the `api_requests()` method now only instantiates those classes for which an `job_manager_api_$api` action hook has been registered.
@dbtlr
Copy link
Contributor

dbtlr commented Feb 15, 2017

LGTM

@dbtlr dbtlr added this to the 1.25.3 milestone Feb 15, 2017
@dbtlr dbtlr merged commit 174aece into Automattic:master Feb 16, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants