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

Fix signature error #41

Closed
wants to merge 2 commits into from
Closed

Conversation

StreetYo
Copy link

By default, the method compares the url from $request->url(), which does not have a slash, and the generated signature, which used a url with a slash, because of this, the method returns false and fails the request with an error.

By default, the method compares the url from $request->url(), which does not have a slash, and the generated signature, which used a url with a slash, because of this, the method returns false and fails the request with an error.
@StreetYo StreetYo mentioned this pull request Sep 12, 2022
@felipemuta
Copy link

Hello! I just added this code on my scripts and works perfeclty!

Why it did not have been merged?

ps: thank you!

@fsasvari fsasvari self-assigned this Jan 15, 2025
@fsasvari
Copy link
Owner

fsasvari commented Feb 5, 2025

Should be fixed in new release 6.1.0, pls check it - https://github.com/fsasvari/laravel-trailing-slash/releases/tag/v6.1.0

@fsasvari fsasvari closed this Feb 5, 2025
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.

3 participants