| Summary: | Usernames must not contain colon | ||
|---|---|---|---|
| Product: | [Retired] Katello | Reporter: | Lukas Zapletal <lzap> |
| Component: | WebUI | Assignee: | Jason E. Rist <jrist> |
| Status: | CLOSED NOTABUG | QA Contact: | Katello QA List <katello-qa-list> |
| Severity: | low | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 1.X | CC: | bkearney, mmccune, ppokorny |
| Target Milestone: | --- | Keywords: | Triaged |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-07-04 12:00:27 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Lukas Zapletal
2012-01-25 14:19:23 UTC
Oh I am apparently not as clever as UTF-8 encoding creators. Thank to the encoding it can never happen any sequence ever encodes a ":" byte. ;-) So we just need to check for the ":" character. Simple. There is no need to check for colon because username is validated by [1] and can only contain alpha numerals, '_' and '-'. So we can close this bug, am I right? [1] https://github.com/Katello/katello/blob/master/src/app/models/username_validator.rb |