[wp-hackers] Modify sanitize_user()
jeremy.visser at gmail.com
Tue Feb 12 06:29:55 GMT 2008
On Mon, 2008-02-11 at 23:19 +0100, Ozh wrote:
> I think there will be a little problem.
> usernames can contain spaces, and sanitization replaces spaces with a
> dash ("angus young" -> "angus-young")
> If you do what you're thinking about, you won't be able to tell if the
> sanitized dash is a space of a dash, so "angus young" and
> "angus-young" will have the same sanitized username.
> Makes sense?
So why not use "angus-young-2"? I mean, I thought that you of all people
would suggest that. ;)
More information about the wp-hackers