? No Code Attached Yet
avatar coolcat-creations
coolcat-creations
21 Nov 2022

Is your feature request related to a problem? Please describe.

Despite Captcha on, I get User registrations with valid emails but with scam in the username so that the valid email gets a spam mail from my Website.

Describe the solution you'd like

I would like to have an option to shorten the name and Username to max. 20 characters (or any custom value) and to add a blacklist for those fields and disallow any URLs in there.

avatar coolcat-creations coolcat-creations - open - 21 Nov 2022
avatar joomla-cms-bot joomla-cms-bot - change - 21 Nov 2022
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 21 Nov 2022
avatar chmst chmst - change - 22 Nov 2022
Title
J4 com_user - Add option to dissalow URLs in Username and Name
J4 com_user - Add option to disallow URLs in Username and Name
avatar chmst chmst - edited - 22 Nov 2022
avatar Chaosxmk
Chaosxmk - comment - 23 Nov 2022

A max character limit wouldn't work thanks to utilities like bit.ly.

avatar coolcat-creations
coolcat-creations - comment - 23 Nov 2022

That's right but an URL filter would make sense and additional length limit to prohibit long text in those fields

avatar brianteeman
brianteeman - comment - 23 Nov 2022

username is already limited to 30 characters

avatar Quy
Quy - comment - 23 Nov 2022

See closed PR #20142 for discussion.

avatar coolcat-creations
coolcat-creations - comment - 24 Nov 2022

It's a serious security issue for me :-( please bring the PR back @laoneo @GeraintEdwards

avatar coolcat-creations
coolcat-creations - comment - 24 Nov 2022

username is already limited to 30 characters

But name isn't- I have lots of russian spam there

avatar brianteeman
brianteeman - comment - 24 Nov 2022

yes it is

<field
name="name"
type="text"
label="COM_USERS_REGISTER_NAME_LABEL"
filter="string"
required="true"
size="30"

avatar brianteeman
brianteeman - comment - 24 Nov 2022

As stated by @laoneo in the other PR there are extensions available. I just quickly tested one that was the first match on the JED and it worked fine https://github.com/Spudley/plg_user_restrictusername

avatar coolcat-creations
coolcat-creations - comment - 24 Nov 2022

Security should be a core setting :-(

avatar brianteeman
brianteeman - comment - 24 Nov 2022

This isnt security.

avatar wojtekxtx
wojtekxtx - comment - 25 Nov 2022

@brianteeman than what it is if not securiy?
Having said that this is not security, how will comment on this comment made by you?

avatar Hackwar Hackwar - change - 22 Feb 2023
Labels Added: ?
avatar Hackwar Hackwar - labeled - 22 Feb 2023

Add a Comment

Login with GitHub to post a comment