Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Adding new users 5.0Adding new users 5.0
Previous
 
Next
New Post
1/2/2009 3:00 PM
 

Problem: Adding a user with a "." in the username. ie. john.doe jane.doe

I've searched around thinking I missed a setting or something because all my usernames in the past have had a period in them, corperate site I control all the users.

It seems the validation of the propertyeditorcontrol usereditor control has changed on users.ascx. No longer excepts non alpha numeric characters.

I've looked around in the forums, bug tracker, and documentation to no avail on a setting. I'm assuming this is something new.

I was able to go in and manually modify the tables so my problem is fixed, however it means that I will end up having to write my own user creation module or manually enter any new users as the firstname.lastname is kind of a corp standard for usernames.

edit: I just tried putting a email address in as username, some sites i goto use that. won't work 5.0

 
New Post
1/6/2009 8:05 AM
 

I found the problem in UserInfo.vb

Public Property Username now uses a regex to validate the username, I'm assuming this was implemented to stop sql injection attacks.

Anyway in my case i've had to modify it to:

<SortOrder(0), MaxLength(100), IsReadOnly(

True), Required(True), RegularExpressionValidator("^([a-zA-Z0-9_-]+)$|^([a-zA-Z0-9_-]+)\.([a-zA-Z0-9_-]+)$")> _Public Property Username() As String

 

 
New Post
1/6/2009 9:27 AM
 

please log the issue and your findings into the public issue tracker (2nd from top) at support.dotnetnuke.com.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
1/6/2009 9:44 AM
 

Sebastian Leupold wrote
 

please log the issue and your findings into the public issue tracker (2nd from top) at support.dotnetnuke.com.

Actually I don't have a valid username for that site or I would.

Edit: found the registration.

 
New Post
1/6/2009 9:57 AM
 

AFAIK you don't need to register, however without registration you will not get notified on updates of the issue.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Adding new users 5.0Adding new users 5.0


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out