[dev] Re: [cvs] commit: horde/lib Auth.php

Jan Schneider jan at horde.org
Tue Jul 8 02:27:17 PDT 2003


Zitat von John Morrissey <jwm at horde.net>:

> jwm         2003/07/07 18:51:18 PDT
>
>   Modified files:
>     lib                  Auth.php
>   Log:
>   Certain backends (ldap, most notably) will ignore leading/trailing
>   whitespace in usernames, allowing the user to log in. If this
> whitespace
>   isn't stripped, the "wrong" username is used by the Prefs subsystem,
> etc.

Wouldn't trim() do the same?

Jan.

--
http://www.horde.org - The Horde Project
http://www.ammma.de - discover your knowledge
http://www.tip4all.de - Deine private Tippgemeinschaft


More information about the dev mailing list