acceptable special characters in password

Need help with the Administration of your Joomla! 4.x site? This is the spot for you.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10
Post Reply
websroger
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 153
Joined: Tue Jan 04, 2011 4:23 pm
Location: Fort Collins, CO, USA
Contact:

acceptable special characters in password

Post by websroger » Wed Dec 07, 2022 11:42 pm

Are there special characters that are not recognised for a password in Joomla? I have a user that seems to have found one. Is there a list of acceptable special characters?

User avatar
ceford
Joomla! Ace
Joomla! Ace
Posts: 1496
Joined: Mon Feb 24, 2014 10:38 pm
Location: Edinburgh, Scotland
Contact:

Re: acceptable special characters in password

Post by ceford » Thu Dec 08, 2022 6:14 pm

White space is not allowed. Can you tell us which character appears to be a problem?

websroger
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 153
Joined: Tue Jan 04, 2011 4:23 pm
Location: Fort Collins, CO, USA
Contact:

Re: acceptable special characters in password

Post by websroger » Thu Dec 08, 2022 6:30 pm

Someone used an exclamation point and thought it was the reason his login failed. May have been another reason, but it raised the issue, and I'd like to know which are unacceptable. A search on Google gave a list, but I now one at least on that list does work.

User avatar
sozzled
Joomla! Master
Joomla! Master
Posts: 13247
Joined: Sun Jul 05, 2009 3:30 am
Location: Canberra, Australia

Re: acceptable special characters in password

Post by sozzled » Thu Dec 08, 2022 7:38 pm

It's a good question (and I wish I had a good answer) :laugh:

AFAIK passwords in J! 4.x must conform to the rules you define (see screenshot at https://docs.joomla.org/Help310:Compone ... rd_Options) but there's no specific restriction on what are defined as symbols.

AFAIK, symbols can include the following characters:

Code: Select all

~`[email protected]#$%^&*()_-+={[}]|\:;"'<,>.?/
In other words, an exclamation point is an allowed character. If you want to establish that an exclamation point is allowed (or not) try it yourself. I haven't tested an exclamation point on a J! 4.x website myself and I would be interested to learn what you discover. If an exclamation point is not allowed then I would suggest that the issue should be reported to the developers. In other words, I don't have a perfect answer to the question.

AFAIK, the only rule about passwords that may cause problems is if a space character is used at the beginning or the end of the password. On the other hand, I haven't tried it and what I've just written may simply be a piece of folklore.
“If you think I’m wrong then say, ‘I think you’re wrong.’ If you say ‘You’re wrong!’, how do you know?”
Walking the talk: https://j4xdemo.enduring.com.au
:)

User avatar
AMurray
Joomla! Exemplar
Joomla! Exemplar
Posts: 8356
Joined: Sat Feb 13, 2010 7:35 am
Location: Australia

Re: acceptable special characters in password

Post by AMurray » Fri Dec 09, 2022 11:18 am

Under Joomla Users Configuration / Password options, it only lets you set the number of symbol characters to use but not which ones you can allow or disallow.

Did you set the minimum symbol characters that could be used? If it was set to "0" and someone tried to enter a password containing "!" then it would fail.
psswd-options.png
You do not have the required permissions to view the files attached to this post.
Regards - A Murray

websroger
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 153
Joined: Tue Jan 04, 2011 4:23 pm
Location: Fort Collins, CO, USA
Contact:

Re: acceptable special characters in password

Post by websroger » Fri Dec 09, 2022 3:45 pm

Thanks A Murray. That may have been the problem - I found minimum special characters was indeed zero, and changed it to 1.

websroger
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 153
Joined: Tue Jan 04, 2011 4:23 pm
Location: Fort Collins, CO, USA
Contact:

Re: acceptable special characters in password

Post by websroger » Fri Dec 09, 2022 3:53 pm

I am not clear now on the use of "minimum symbols" If the minimum is 0, then 1 or more should be acceptable. The question remains if ! is acceptable or not.

gws
Joomla! Virtuoso
Joomla! Virtuoso
Posts: 4975
Joined: Tue Aug 23, 2005 1:56 pm
Location: South coast, UK
Contact:

Re: acceptable special characters in password

Post by gws » Fri Dec 09, 2022 4:32 pm

! is acceptable, I use it often.

websroger
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 153
Joined: Tue Jan 04, 2011 4:23 pm
Location: Fort Collins, CO, USA
Contact:

Re: acceptable special characters in password

Post by websroger » Fri Dec 09, 2022 5:11 pm

Thanks, gws. I thought so.

User avatar
brian
Joomla! Master
Joomla! Master
Posts: 12629
Joined: Fri Aug 12, 2005 7:19 am
Location: Leeds, UK
Contact:

Re: acceptable special characters in password

Post by brian » Fri Dec 09, 2022 9:14 pm

> If it was set to "0" and someone tried to enter a password containing "!" then it would fail.

No - minimum == minimum required
"Exploited yesterday... Hacked tomorrow"
Blog http://brian.teeman.net/
Joomla Hidden Secrets http://hiddenjoomlasecrets.com/


Post Reply

Return to “Administration Joomla! 4.x”