Posted by beginner on May 22, 2006 at 12:25pm
3 followers
| Project: | Drupal core |
| Version: | x.y.z |
| Component: | user system |
| Category: | bug report |
| Priority: | normal |
| Assigned: | beginner |
| Status: | closed (fixed) |
Issue Summary
see full discussion here:
http://drupal.org/node/64861
this simple patch will render registering phony accounts absolutely pointless for spammers.
| Attachment | Size | Status | Test result | Operations |
|---|---|---|---|---|
| registration-spam.diff.txt | 634 bytes | Ignored: Check issue status. | None | None |
Comments
#1
The patch does not comply with coding standards: We use || not OR.
#2
new patch.
I see the different precedence between &&, || and AND, OR.
http://www.php.net/manual/en/language.operators.logical.php
Is there any particular (historical) reason why Drupal must use && and || instead of AND and OR?
#3
This doesn't seem to have much to do with "meta roles"; what does this patch do, concisely?
#4
the patch is relevant to the discussion about spam registration that I addressed on the 'meta-roles' page:
This page removes that incentive, because an account that is never activated (because created by a spammer with a fake email or an email they don't own) is not accessible by anonymous or normal users, and most importantly from the spammers' point of view, the page is not accessible by search engines...
#5
applied to 4.7, downgrading as nothign is that broken.
#6
clean patch for head.
Is there any particular (historical) reason why Drupal must use && and || instead of AND and OR?
#7
#8
#9
We have decided to use && and || and want to keep it consistent.
#10
thanks :)
#11
Committed to HEAD.
#12