[wp-hackers] Sanitize password input

Rafael Ehlers rafaehlers at gmail.com
Thu Jan 24 03:54:00 UTC 2013


Well thanks for the answers, I will sanitize on the frontend with some
regexp then!

2013/1/24 Otto <otto at ottodestruct.com>

> On Wed, Jan 23, 2013 at 8:49 PM, Rafael Ehlers <rafaehlers at gmail.com>
> wrote:
> > what´s the best wp native function to sanitize a user input password for
> > frontend login/registration that allows alphanumeric characters with
> > Uppercase and Lowercase chars?
>
> I would say sanitize_user(), but that is meant for usernames.
> Sanitizing passwords is not the purpose of it, nor a great idea.
>
> -Otto
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>


More information about the wp-hackers mailing list