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

TypeError on urldecode() #3

Closed
cocochepeau opened this issue Oct 12, 2020 · 2 comments
Closed

TypeError on urldecode() #3

cocochepeau opened this issue Oct 12, 2020 · 2 comments

Comments

@cocochepeau
Copy link

At line 65 of ReferrerSpam.php, $referrer can sometimes be null. This causes a TypeError exception:

TypeError
urldecode() expects parameter 1 to be string, null given

https://github.com/middlewares/referrer-spam/blob/master/src/ReferrerSpam.php#L65

@oscarotero
Copy link
Member

Hey, thanks!
Fixed and released the patch 2.0.1

@cocochepeau
Copy link
Author

cocochepeau commented Oct 13, 2020 via email

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

No branches or pull requests

2 participants