8000 Reverse hash_equals parameters by dmgsoftware · Pull Request #4733 · php/doc-en · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Reverse hash_equals parameters #4733

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

Merged
merged 1 commit into from
Jun 19, 2025
Merged

Reverse hash_equals parameters #4733

merged 1 commit into from
Jun 19, 2025

Conversation

dmgsoftware
Copy link
Contributor

As stated in the document, the user provided string is supposed to be the second parameter. Whereas before this pull request, the user provided string is the first parameter.

As stated in the document, the user provided string is supposed to be the second parameter. Whereas before this pull request, the user provided string is the first parameter.
@nielsdos nielsdos merged commit c769746 into php:master Jun 19, 2025
2 checks passed
@TimWolla
Copy link
Member

This change is incorrect. The $signature is the user-provided string, which even is explicitly stated in the comment.

TimWolla added a commit that referenced this pull request Jun 19, 2025
@dmgsoftware dmgsoftware deleted the patch-1 branch June 20, 2025 00:23
@nielsdos
Copy link
Member

This change is incorrect. The $signature is the user-provided string, which even is explicitly stated in the comment.

Right, apologies

@dmgsoftware
Copy link
Contributor Author

Sorry about the confusion. I should have paid closer attention to the example.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants
0