Commit 4a3e9d4
committed
Registration: Reject usernames that contain "www."
Wordpress registration e-mails are used to send bitcoin spam to
people - by using usernames with spaces like
> www.spammer.example.com - 1.2342 BTC
This patch filters out usernames that begin with "www."
or contain " www." - such names are auto-linked by email
clients and made clickable.
Documented occurences of that spamming problem:
- https://cweiske.de/tagebuch/wordpress-registration-spam.htm
- https://www.reddit.com/r/Wordpress/comments/1gyyhx7/spammed_with_100_fake_wordpress_login_emails_help/
Fixes 63085.1 parent 8510818 commit 4a3e9d4
2 files changed
Lines changed: 19 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
393 | 393 | | |
394 | 394 | | |
395 | 395 | | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
396 | 399 | | |
397 | 400 | | |
398 | 401 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5094 | 5094 | | |
5095 | 5095 | | |
5096 | 5096 | | |
| 5097 | + | |
| 5098 | + | |
| 5099 | + | |
| 5100 | + | |
| 5101 | + | |
| 5102 | + | |
| 5103 | + | |
| 5104 | + | |
| 5105 | + | |
| 5106 | + | |
| 5107 | + | |
| 5108 | + | |
| 5109 | + | |
| 5110 | + | |
| 5111 | + | |
| 5112 | + | |
5097 | 5113 | | |
5098 | 5114 | | |
5099 | 5115 | | |
| |||
0 commit comments