feature request #8454
Only allow certain patterns as username and groupname
Start date:
08/09/2019
Due date:
% Done:
100%
Severity:
normal
Description
... to avoid unwanted characters like ;,ö*... Also avoid unvisible characters, whitespaces and linebrakes this way.
For now we may use "[A-Za-z0-9_.-]+" as regex.
Related issues
Associated revisions
ref #8454 add regex to User.username and Group.name
ref #8454 fix UserAndGroupServiceImplTest
History
#1 Updated by Andreas Müller over 1 year ago
- Status changed from New to In Progress
- Priority changed from New to Highest
#2 Updated by Andreas Müller over 1 year ago
- Description updated (diff)
#3 Updated by Andreas Müller over 1 year ago
- Related to feature request #3972: Strictly validate username to not null and not empty added
#4 Updated by Andreas Müller over 1 year ago
- Status changed from In Progress to Resolved
This should be solved now and seems to work. Still needs testing in TaxEditor and maybe other surroundings.
#5 Updated by Andreas Müller over 1 year ago
- Related to feature request #8470: Handle username constraints in user and group editing added
#6 Updated by Andreas Müller over 1 year ago
- Assignee changed from Andreas Müller to Katja Luther
- % Done changed from 0 to 50
This should be fixed. Who ever wants please review. I tested creating a new user and a group in TaxEditor. For both works validation but needs to be improved (#8470).
As KL has this ticket I pass review of this ticket also KL for now.
#7 Updated by Katja Luther over 1 year ago
- Status changed from Resolved to Closed
- Assignee changed from Katja Luther to Andreas Müller
tested it in Editor and it seems to work (tested ' ', 'ö', '*')
#8 Updated by Katja Luther over 1 year ago
- % Done changed from 50 to 100
#9 Updated by Andreas Müller about 1 year ago
- Duplicated by feature request #8433: Disallow user names with whitespace added