Flaw in Auto Create functionality

rated by 0 users
Not Answered This post has 0 verified answers | 2 Replies | 1 Follower

Dave
Top 10 Contributor
2,282 Posts
Points 14,405
MVPs
By: Dave
Posted: Wed, Apr 2 2008 8:35 AM

We've recently found a flaw with the auto create blog/gallery functionality. When blogs and galleries are created on user registration they use the username as the appKey replacing certain characters with spaces or blanks. A problem arises for instance when a user registers with the username David R which would then create a blog/gallery with the appKey David_R (space is replace by underscore), if a user then registered with the username David_R then a blog and gallery would not be created as the appKey already exists.

To work around this we have changed our username regular expression to ^[a-zA-Z0-9_-]+$

 

 
  • Post Points: 20 |

All Replies

jseney
Not Ranked
4 Posts
Points 65
By: jseney
Posted: Fri, Jul 11 2008 10:20 AM In reply to

When was this changed, I have CS2008, but not SP1 and it lets me have spaces in usersnames...

 

- Jason

 
  • Post Points: 20 |
Dave
Top 10 Contributor
2,282 Posts
Points 14,405
MVPs
By: Dave
Posted: Fri, Jul 11 2008 10:55 AM In reply to

it won't have been changed, it's up to you what the username format is, you can set it in yoursite/controlpanel/membership/AccountSettings.aspx > Username Regular Expression Pattern

 
  • Post Points: 5 |
Page 1 of 1 (3 items) | RSS
Powered by Community Server (Commercial Edition), by Telligent Systems

Copyright© 2008 Telligent Systems Inc. All rights reserved
CommunityServer.com  •  Telligent.com