| Summary: | login page should strip blanks | ||
|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | Susan McCourt <susan> |
| Component: | Client | Assignee: | Curtis Windatt <curtis.windatt.public> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | curtis.windatt.public, david, jparks, ken_walker, mamacdon |
| Version: | 1.0 | Keywords: | helpwanted |
| Target Milestone: | 5.0 M1 | Flags: | jparks:
review?
|
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
|
Description
Susan McCourt
GitHub URL: https://github.com/jparks06/orion.client.git Branch: Bug394479 Commit ID: c81e72731e4f93eefdf3cc0dbb6093575b47ecdb Added a simple regular expression to remove all blanks from the username field before processing an Orion account login (web/mixloginstatic/LoginWindow.js). No changes were made to password entries or other login options (Google login, Mozilla persona). https://github.com/mrennie/orion.client/commit/7520822867e88ef52da16af9b48c280f8582db9d Updated commit on github fork. I can make a pull request or a gerrit change if requested. I used trim() over replacing all whitespace. I doubt we support whitespace inside a user name, but having "c w indatt" be valid seems wrong. Newer browsers will have trim() implemented, but if older support is required we can just use the regex replace /^\s+|\s+$/g. |