People often run drush sql-sanitize to ensure the sanitization of local passwords and emails in a development environment. If the user_revision module is enabled, due to the way entity_load works, it overwrites the 'mail' property on the user object, and there aren't yet any drush hooks to ensure that the mail field on the `user_revision` table gets sanitized too... until now!

Comments

chrisarusso’s picture

StatusFileSize
new2.98 KB
chrisarusso’s picture

StatusFileSize
new3.4 KB

I've added the patch that

attiks’s picture

Status: Needs review » Fixed

Thanks

  • attiks committed c4c24e4 on 7.x-1.x authored by chrisarusso
    Issue #2534638 by chrisarusso: User revision loads unsanitized users...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.