comanage-users - Re: [comanage-users] Spaces in extended types
Subject: COmanage Users List
List archive
- From: Benn Oshrin <>
- To: Duncan Brown <>
- Cc: "" <>
- Subject: Re: [comanage-users] Spaces in extended types
- Date: Sat, 30 Nov 2019 15:37:43 -0500
Hi Duncan,
Trailing whitespaces should be removed from Identifiers, as per
https://spaces.at.internet2.edu/display/COmanage/Normalizing+Data
Please open a JIRA, including details of how the user created the identifier in the first place.
I'm a little confused as to why you can't fix the entry, though. Identifier availability checks do not consider whitespace (though maybe they should), and normalization will only apply to the record being saved, not the record already persisted. You've double checked that the username (without the space) isn't already attached to a record?
Along with UTF-8 names, we also occasionally test for little Bobby Tables.
Thanks,
-Benn-
On 11/19/19 4:52 PM, Duncan Brown wrote:
Hi Benn,
I created an extended type 'GitHub' which is used to store the user's GitHub username for use by the provisioning module. The enrollment flow asks the user for their ID when they register. I had a user add a space to their name, so the field contained 'Username ' rather than 'Username'. When I tried to change their ID to remove the space and save, COmanage complains that the identifier is already in use:
Is is expected behavior, or a bug I should file in JIRA?
Cheers,
Duncan.
p.s. you'll be pleased to know that COmanage is hardened against most standard XKCD exploits...
--
Duncan Brown Room 263-1, Physics Department
Charles Brightman Professor of Physics Syracuse University, NY 13244
http://dabrown.expressions.syr.edu Phone: 315 443 5993
- [comanage-users] Spaces in extended types, Duncan Brown, 11/19/2019
- Re: [comanage-users] Spaces in extended types, Benn Oshrin, 11/30/2019
Archive powered by MHonArc 2.6.19.