Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Because strstr() is faster than ereg(), it should be used for some validity checking in user.module.
Comment | File | Size | Author |
---|---|---|---|
#2 | user.module_66.patch | 1.43 KB | meba |
user.module_65.patch | 1.41 KB | meba | |
Comments
Comment #1
m3avrck CreditAttribution: m3avrck commentedstrpos() would be *even* faster in those cases.
Comment #2
meba CreditAttribution: meba commentedYou are right, rerolling.
Comment #3
m3avrck CreditAttribution: m3avrck commentedLooks good now!
Comment #4
Steven CreditAttribution: Steven commentedCommitted to HEAD. Thanks.
Comment #5
(not verified) CreditAttribution: commented