[PR][web-php][#69][master] - fix blacklisted() to treat $mosquitoes as literals (not regexps)
| From: | noreply@php.net | Date: | Wed, 13 May 2015 01:43:55 +0000 |
| Subject: | [PR][web-php][#69][master] - fix blacklisted() to treat $mosquitoes as literals (not regexps) | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-21148@lists.php.net to get a copy of this message | ||
You can view the Pull Request on github:
https://github.com/php/web-php/pull/69
Pull Request Description:
Currently, the blacklisted email addresses are treated as regular expression, but it appears that
they are not written as such. Especially dots (.) in values of the $mosquitoes array might give
false positives.
An alternative to this fix would be to properly escape the $mosquitoes. Not sure what's best.