Bug 966 - Name check on identity should be more open
Summary: Name check on identity should be more open
Status: RESOLVED FIXED
Alias: None
Product: Websites
Classification: Unclassified
Component: identity.mageia.org (show other bugs)
Version: trunk
Hardware: i586 Linux
Priority: Normal major
Target Milestone: ---
Assignee: Atelier Team
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-24 18:28 CEST by Pascal Terjan
Modified: 2023-09-23 23:50 CEST (History)
5 users (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments

Description Pascal Terjan 2011-04-24 18:28:14 CEST
Many French first names contain "-" (like Jean-Pierre) but CatDap rejects it: /^[\p{IsAlnum} ]+$/

Last name is also restricted the same way.

I think it will reject at least Irish people with "O'" in their family name and all French people with "d'" (I wonder how Romain could register)
Pascal Terjan 2011-04-24 18:28:54 CEST

Summary: - should be valid in first name => Name check on identity should be more open

Pascal Terjan 2011-04-24 18:29:25 CEST

Assignee: sysadmin-bugs => mageia-webteam
Product: Infrastructure => Websites
Component: Others => identity.mageia.org
Version: unspecified => trunk

Ahmad Samir 2011-04-24 22:33:06 CEST

CC: (none) => bgmilne

Comment 1 Michael Scherer 2011-04-26 14:08:27 CEST
I releaxed the check in trunk.

CC: (none) => misc

Comment 2 Marja Van Waes 2011-10-10 07:11:25 CEST
(In reply to comment #1)
> I releaxed the check in trunk.

So this bug is solved?

CC: (none) => marja11

Comment 3 JeanMichel DYDAK 2011-11-01 22:08:06 CET
Hi,

Area [first name] completed with Jean-Michel 
Message: "The first name supplied contains illegal characters".

Area [surname] blank
Message: "The surname supplied contains illegal characters".

Look like the bug is not solved. 
Second message does not correspond to the fact.

CC: (none) => jean-michel

Comment 4 Marja Van Waes 2012-02-08 15:28:41 CET
Pinging, because nothing has happened with this report for more than 3 months, it still has the status NEW or REOPENED.
Comment 5 Marja Van Waes 2012-06-06 21:52:10 CEST
3 monthly ping (belated)

Is this bug still valid?
Comment 6 Marja Van Waes 2023-09-23 14:44:02 CEST

This bug is solved, there is a tiny issue left, though:

I tried to create a new account, but despite lower case letters and numbers being allowed in the user name, "966test" resulted in the message "Invalid username"

"test966" is allowed, so is "Marie-Rose" as name and "O'Connor" as surname:

Dear Marie-Rose O'Connor,
Your Mageia account has been successfully created, but requires activation.

a2c5d as username is allowed, too

but 1user isn't.

It seems a digit as first character isn't allowed. I might file a separate bug report for that issue.

Closing this one.

Status: NEW => RESOLVED
Resolution: (none) => FIXED

Comment 7 Buchan Milne 2023-09-23 20:20:24 CEST
> It seems a digit as first character isn't allowed. I might file a separate bug report for that issue.

Please don't, see https://www.baeldung.com/linux/usernames-no-digit-prefix
Comment 8 Marja Van Waes 2023-09-23 23:50:46 CEST
(In reply to Buchan Milne from comment #7)
> > It seems a digit as first character isn't allowed. I might file a separate bug report for that issue.
> 
> Please don't, see https://www.baeldung.com/linux/usernames-no-digit-prefix

Thanks for the link, I didn't know.

I've updated the wiki page about our user accounts instead:
https://wiki.mageia.org/mw-en/index.php?title=Mageia.org_user_account&type=revision&diff=59430&oldid=55829

Note You need to log in before you can comment on or make changes to this bug.