Quantcast
Channel: Security
Viewing all articles
Browse latest Browse all 4737

Unable to login with special Characters like (,%,!

$
0
0

One of the users of our application have registered with the username (%943xsqqtr!

He was able to register successfully, but when he logins with the above username, it throws error.

In our application we use membership to create a new user and membershipProvider.GetUser( string, bool ) to fetch the username from the membership. It uses membershipProvider.ValidateUser(userName, password) to authenticate the user. It is working fine for normal username with only characters. But for the username (%943xsqqtr!, it is not authenticated. 

In our database, the username is registered as given, there is no restriction for special characters during registration. Is any conversion is happening while retrieving the username from Membership table or the special characters throw some error?


Viewing all articles
Browse latest Browse all 4737

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>