Commit 33a14e4
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 b10d2f9 commit 33a14e4
3 files changed
Lines changed: 27 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 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1273 | 1273 | | |
1274 | 1274 | | |
1275 | 1275 | | |
| 1276 | + | |
| 1277 | + | |
| 1278 | + | |
| 1279 | + | |
| 1280 | + | |
| 1281 | + | |
| 1282 | + | |
| 1283 | + | |
1276 | 1284 | | |
1277 | 1285 | | |
1278 | 1286 | | |
| |||
0 commit comments