[Chrome OS] Respect periods in google apps account names
When logging in to @gmail.com accounts via the web, . characters are ignored -- which we do on chrome OS. When logging into google apps accounts for OTHER domains, . characters should NOT be ignored. We were canonicalizing them out on Chrome OS, breaking login for apps users who have . embedded in their usernames. BUG=chromium-os:10397 TEST=unit tests, install on device and try cmasone@gmail.com, c.masone@gmail.com, why.you@mydomain.org and whyyou@mydomain.org. The first three work, the last one does not, as expected. Review URL: http://codereview.chromium.org/6089004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70318 0039d316-1c4b-4281-b951-d872f2087c98
Showing
- chrome/browser/chromeos/login/authenticator.cc 8 additions, 1 deletionchrome/browser/chromeos/login/authenticator.cc
- chrome/browser/chromeos/login/authenticator.h 3 additions, 0 deletionschrome/browser/chromeos/login/authenticator.h
- chrome/browser/chromeos/login/authenticator_unittest.cc 16 additions, 6 deletionschrome/browser/chromeos/login/authenticator_unittest.cc
Please register or sign in to comment