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

Check request method is set before using it #20653

Merged
merged 1 commit into from
May 3, 2023

Conversation

michalkleiner
Copy link
Contributor

Description:

Defensive code change for malformed requests addressing #20651.

Review

@michalkleiner michalkleiner added the Needs Review PRs that need a code review label May 2, 2023
@michalkleiner michalkleiner added this to the 5.0.0 milestone May 2, 2023
@sgiehl
Copy link
Member

sgiehl commented May 3, 2023

@michalkleiner It would be good to either link issues/PRs or to have something like fixes #XXXX in the PR description, so GitHub will automatically close related issue when a PR is merged...

@sgiehl sgiehl linked an issue May 3, 2023 that may be closed by this pull request
@sgiehl sgiehl merged commit ee7360d into 5.x-dev May 3, 2023
@sgiehl sgiehl deleted the bugfix/20651-check-request-method branch May 3, 2023 08:43
@sgiehl sgiehl added the not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org. label May 3, 2023
@michalkleiner
Copy link
Contributor Author

@michalkleiner It would be good to either link issues/PRs or to have something like fixes #XXXX in the PR description, so GitHub will automatically close related issue when a PR is merged...

I linked the issue but not in the best way for the automation to pick it up. Will do better next time, thanks for the suggestion! 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs Review PRs that need a code review not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Warning: Undefined array key "method" in PrivacyManager.php
2 participants