[wp-testers] Single quotes in user_login gives MySQL errors
Jamie Talbot
wphackers at jamietalbot.com
Thu Jan 5 01:53:48 GMT 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
Having a single quote in a user_login, in my case "Jamie's Keitai",
breaks the MySQL query in get_userdatabylogin() in the latest changeset.
Adding slashes to sanitize_user() seems to work to fix that. Will this
break anything else?
Ticket and potential patch submitted here:
http://trac.wordpress.org/ticket/2221
Cheers,
Jamie.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFDvHwsrovxfShShFARAlmVAKCBI8DuxfHnCHvJWmOhaVCKwd/QBwCeMdXd
ok9O0CSS25a2a2d+gBijkMI=
=Re1d
-----END PGP SIGNATURE-----
More information about the wp-testers
mailing list