I'm trying to use Where statement for retrieving data from the database and it's always returning data if whitespaces are added at the end of the string, so
.Where(p => p.Username == "sysadmin")
and
.Where(p => p.Username == "sysadmin ")
both are returning data (I expect the second one to return null). And the same thing is with WebSecurity.Login
method, it is logging in succesfully in both cases.