Home » Authentication » Auth_HTTP » Bug #2408
usernamecol and passwordcol can't contain a space
Details
| Submitted | 2004-09-28 14:16 UTC |
|---|---|
| From | ayourk at srt dot com |
| Status | Suspended |
| Package | Auth_HTTP |
| PHP Version | 4.3.8 |
| OS | RedHat |
| Roadmaps | (Not assigned) |
Comments
[2004-09-28 14:16 UTC] ayourk at srt dot com
Description:
------------
I have a database I have no control over and the db admin likes to use spaces in the field names. I've tried to tell him this makes things difficult for coding, but he won't listen. Any way you can make this module work with field names that have spaces and other special characters (like a pipe '|' character) would be most appreciated.
Reproduce code:
---------------
Create a database (I used PostgreSQL here) and have a table that has 2 columns for the username and 2 columns for the password. Make 1 of those 2 columns for each field have a space. In the code switch between the 2 columns for the *col fields in the AuthOptions array.