Home
Download
Add-ons
Help
Forum
Organisation
Project
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
May 26, 2012, 08:33:03 PM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search:
Advanced search
Interested in joining the WebsiteBaker team?
For more Information read
here
or on our
new website
.
155552
Posts in
21715
Topics by
7737
Members
Latest Member:
gx-world
WebsiteBaker Community Forum
English
Help & Support
(Moderators:
Argos
,
badknight
)
WB 2.8.2 usernames including "." disallowed?!
Pages: [
1
]
Go Down
Author
Topic: WB 2.8.2 usernames including "." disallowed?! (Read 275 times)
Scone Top
Offline
Posts: 1
WB 2.8.2 usernames including "." disallowed?!
«
on:
September 26, 2011, 05:38:11 AM »
I just installed WB 2.8.2 in my test environment...
Attempted to creater my first Username... and was met with this error message...
"Invalid chars for username found / The username you entered was too short"
The username did include a "." (dot/period/fullstop), well two actually. This kind of username has been working fine with WB 2.8.1.
Considering our local security policy requirements to use amix of alpha/numeric/non-alphanumeric chars in usernames (as well as passwords)...
Why so strict?
What can be done to allow "." characters in WB usernames?
This could be a show stopper for my planned seamless WB upgrade on a medium sized Intranet site...
Many thanks in anticipation,
-- Scone Top.
Logged
BlackBird
AddOn Development
Offline
Posts: 2069
Re: WB 2.8.2 usernames including "." disallowed?!
«
Reply #1 on:
September 26, 2011, 09:26:25 AM »
In WB 2.8.2, there's a regexp checking usernames:
/^[a-z]{1}[a-z0-9_-]{2,}$/i
This means:
* Must begin with at least one letter (^[a-z]{1})
* Can contain any number > 2 of a-z, 0-9, Underscores and Hyphens ([a-z0-9_-]{2,})
No other chars - including . and @ (if you'd like to use mail addresses as usernames) - are allowed.
See admins/users/save.php
Logged
Alle großen Veränderungen beginnen im Kleinen
Argos
Moderator
Offline
Posts: 2161
Re: WB 2.8.2 usernames including "." disallowed?!
«
Reply #2 on:
September 29, 2011, 11:16:01 AM »
What a ridicilous change! I just upgraded a client site from 2.8.1 to 2.8.2 and also get this error. This means that the policy of creating usernames of my client cannot be continued because of this weird change in WB. I'm really getting frustrated by the silly "security" changes in WB lately. What's the next idea to decrease usability??
I tried to add the @ and . to the pregmatch thingy, but that didn't work. Only removing the pregmatch code helped.
«
Last Edit: September 29, 2011, 11:24:12 AM by Argos
»
Logged
Jurgen Nijhuis
Argos Media
Heiloo, The Netherlands
WB Showcase:
http://www.mywebsitebaker.com/pages/showcase.php?v&category_id=1242&count=30
----------------------------------------------------------------
Please don't request personal support, use the forums!
BlackBird
AddOn Development
Offline
Posts: 2069
Re: WB 2.8.2 usernames including "." disallowed?!
«
Reply #3 on:
September 29, 2011, 11:29:47 AM »
This pattern should work.
/^[a-z]{1}[a-z0-9@\._-]{2,}$/i
* Must begin with at least one letter (^[a-z]{1})
* Can contain any number > 2 of a-z, 0-9, Underscores, Hyphens, Dots and @ ([a-z0-9@\._-]{2,})
Logged
Alle großen Veränderungen beginnen im Kleinen
Pages: [
1
]
Go Up
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> General Announcements
=> Security Announcements
=> Documentation
=> WebsiteBaker Website Showcase
=> Guest Area & Off-Topic
-----------------------------
English
-----------------------------
=> WebsiteBaker 2.9
===> Announcements
===> Help/Support
=====> Modules / Extensions
===> Suggestions
===> Software bugs
=> Help & Support
=> Modules
=> Droplets (PHP code for use with Droplet module) & Snippets (raw PHP code)
=> jQuery
=> Templates, Menus & Design
=> WebsiteBaker Language Files
=> WebsiteBaker 2.x discussion
=> WebsiteBaker 3
=> Archive (posts up to 2007)
-----------------------------
Deutsch (German)
-----------------------------
=> Ankündigungen
=> WebsiteBaker 2.9
===> Ankündigungen
===> Hilfe/Support
=====> Module / Extensions
===> Vorschläge
===> Softwarefehler
===> Erfahrungs und Testberichte
=> Hilfe/Support
=> Module & Snippets
=> Templates & Design
=> Tutorials
=> jQuery
=> Diskussion über WB
=> Off-Topic
=> Archiv für Themen bis 2007
-----------------------------
Nederlands (Dutch)
-----------------------------
=> Aankondigingen
=> Hulp & Ondersteuning
=> Niet-Terzake (Off Topic)
-----------------------------
Francais (French)
-----------------------------
=> Help/Support
-----------------------------
Italiano (Italian)
-----------------------------
=> Help/Support
-----------------------------
Bakery (WB shop module)
-----------------------------
=> Bakery English
=> Bakery Deutsch
-----------------------------
KeepInTouch (Multi Contact Module)
-----------------------------
=> KeepInTouch English
=> KeepInTouch Deutsch
Loading...