Details
-
Bug
-
Resolution: Fixed
-
Major
-
COmanage Registry 3.2.3 (Oyster Pearl MR3)
Description
I created an enrollment flow that asks the user for their GitHub username. Users can enter this, but comanage is not stripping spaces from the end of the name. See the example where I reproduced this by setting my GitHub name to 'duncanbrown '. The space appears after the name and before the cursor (the thin vertical line). It ends up in the database:
MariaDB [registry]> select identifier,quote(identifier),type,status from cm_identifiers where identifier like 'duncanbrown%';
-------------------------------------------+
| identifier | quote(identifier) | type | status |
-------------------------------------------+
| duncanbrown | 'duncanbrown ' | GitHub | A |
-------------------------------------------+
1 row in set (0.01 sec)