Visiomart
Posts: 13
|
| Posted: 01/19/2011, 10:44 AM |
|
After creating a user authentication in codecharge and asuming the username is admin and password being password
when you tried login in with admin with a space after it it stills login.
How can this bug be fixed.
_________________
Don Capone |
 |
 |
datadoit
|
| Posted: 01/19/2011, 11:41 AM |
|
That's because CodeCharge will strip the post (or get) parameters of any
whitespace, as it should. You don't want to get into a battle of not
stripping out whitespace of any and all posts.
If you must post the login form fields as they are due to whatever
constraints or requirements, you'll need to write your own login
functions and routines to bypass this behavior (ie: Don't use the
CCLoginUser() function).
It's not a "bug". It's a feature that all CodeChargers should appreciate.
|
|
|
 |
|