spatie / laravel-webhook-client

Receive webhooks in Laravel apps
https://freek.dev/1383-sending-and-receiving-webhooks-in-laravel-apps
MIT License
1k stars 147 forks source link

Change hash_equals order parameters #221

Closed sylfel closed 3 months ago

sylfel commented 3 months ago

In hash_equals documentation, there is a caution

It is important to provide the user-supplied string as the second parameter, rather than the first.

So, I inverted parameters in DefaultSignatureValidator

freekmurze commented 3 months ago

Thanks!