[Pkg-xfce-devel] Bug#785237: Bug#785237: lightdm-gtk-greeter: Please remove leading spaces from user name
Yves-Alexis Perez
corsac at debian.org
Wed May 13 20:52:49 UTC 2015
On mer., 2015-05-13 at 20:05 +0200, Andreas Schmidt wrote:
> Package: lightdm-gtk-greeter
> Version: 2.0.0-3
> Severity: wishlist
>
> Dear Maintainer,
>
> I work at a laptop computer that I usually suspend instead of shutting down.
> After opening the lid, I usually tap the space key to restart the computer.
> Sometimes, a spurious space character makes it into the field for the user name
> as first character. Naturally, user name and password don't match in this case.
> However, as my password is quite long, I usually tend to assume I have mistyped
> the password, thus losing time and nerves by repeatedly retyping the password
> before thinking of the stray space character in front of the user name. :-)
>
> Wouldn't it be possible to remove leading spaces from the input in the user
> name field before matching user and password? Are leading spaces in user names
> even allowed? If so, unconditionally removing them could cause issues for
> people
> with such user names. These might be prevented, however, if the test was for a
> match of (password and username) OR (password and username without leading
> spaces), rather than just (password and username).
I'm honestly really not confident about that, that doesn't look like a
great idea at first sight, so you'd have to justify a bit more it's
safe.
Regards,
--
Yves-Alexis
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-xfce-devel/attachments/20150513/8ccc6c87/attachment.sig>
More information about the Pkg-xfce-devel
mailing list