This is a well-understood feature. Facebook does the same thing[0]. Quote: Facebook actually accepts three forms of your password: * Your original password. * Your original password with the first letter capitalized. This is only for mobile devices, which sometimes capitalize the first character of a word. * Your original password with the case reversed, for those with a caps lock key on. [0]: https://www.zdnet.com/a…
Gmail password first character is case insensitive on mobile device
91–100 of 278 posts
Re: Gmail password first character is case insensitive on mobile device
#92Earlier quoted context omitted.
Yup. My role of accepting phone numbers is `input.replace(/[^0-9+]/g, "")`. It might strip some expected information in rare cases but good enough for me. This works for a lot of other things that people format wildly like Canadian postal codes (which are A1A 1A1 format but many places require presence or absence of a space), credit cards (strip the spaces) and so many other fields.
Using letters in a phone number as a mnemonic, or just to flow better, is not a "rare case." You should revise your regex to accept letters, then whether you store them internally as letters or convert to the corresponding numbers is up to you.
Re: Gmail password first character is case insensitive on mobile device
#93Earlier quoted context omitted.
This is like when on a cli application -h displays a hint that you probably meant --help (or the other way around). If you already know someone wants to display the help, why not just display it?
>>> exit Use exit() or Ctrl-Z plus Return to exit
Re: Gmail password first character is case insensitive on mobile device
#94Earlier quoted context omitted.
I would have thought password fields in particular would never auto-capitalize. Is this not the case?
Many people note their passwords down in eg. a text document. Not a great practice, but password management is a pain for most people. So when they do that, their editor might auto-capitalize the first character.
Re: Gmail password first character is case insensitive on mobile device
#95It got me thinking - imagine wanting to let users log in with a single character typo in their password, could you do this without storing hashes of all edit distance 1 passwords?
Re: Gmail password first character is case insensitive on mobile device
#96Earlier quoted context omitted.
This is like when on a cli application -h displays a hint that you probably meant --help (or the other way around). If you already know someone wants to display the help, why not just display it?
>>> exit Use exit() or Ctrl-Z plus Return to exit
Python functions are invoked with parenthesis, while typing a name without parenthesis retrieves the content of a variable. The Python CLI helpfully sets the "exit" variable to that string so that you don't get a confusing NameError when you make this mistake.
Re: Gmail password first character is case insensitive on mobile device
#97Earlier quoted context omitted.
This is like when on a cli application -h displays a hint that you probably meant --help (or the other way around). If you already know someone wants to display the help, why not just display it?
sounds like python which don't accept ctrl + c and says you to do ctrl + d or something (i don't know python)
A lot of technical folk who rely on this immediately notice when some shell doesn't do this (exiting instead of breaking of the current input line). I have this with Hbase's hbase shell. I've dropped out of that by accident dozens of times because Ctrl + C interrupts the whole shell.
Re: Gmail password first character is case insensitive on mobile device
#98Re: Gmail password first character is case insensitive on mobile device
#99Earlier quoted context omitted.
This is like when on a cli application -h displays a hint that you probably meant --help (or the other way around). If you already know someone wants to display the help, why not just display it?
sounds like python which don't accept ctrl + c and says you to do ctrl + d or something (i don't know python)
Re: Gmail password first character is case insensitive on mobile device
#100Probably a feature, not a bug. Most mobile keyboards automatically capitalize the first character by default. With the ephemeral nature of password characters upon entry; it would be easy to miss the capitalization, annoying users. This one small trick probably prevents millions of people from becoming frustrated with Google every single day. And I'll bet it only works one way. If your password was "ABCD", then by my…
I would have thought password fields in particular would never auto-capitalize. Is this not the case?