Ran into this today when setting a custom sanitization email:

$options['sanitize-email'] = '%login@example.com';

That'll replace it with their last login timestamp. Surely we meant "name" their instead, no? Patch attached.

CommentFileSizeAuthor
sql-sanitize-username-bug.patch1.24 KBmsonnabaum

Comments

greg.1.anderson’s picture

Status: Active » Patch (to be ported)

You are absolutely correct; committed to master. I also updated the help text to match the change (as a second commit, because I didn't notice right away).

http://drupalcode.org/project/drush.git/commit/0fe861d
http://drupalcode.org/project/drush.git/commit/70bb547

moshe weitzman’s picture

Status: Patch (to be ported) » Fixed

Committed to 4.

Status: Fixed » Closed (fixed)

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