Thanks All!

Got it fixed.  For future reference.. PHP has the option in php.ini
magic_quote_gpc. If this is turned on it automagically backslashes
quotes and doublequotes to keep them as non-special-characters in all
GET POST and Cookies.  This was turned on (apprently by default in PHP4
Deb package in woody) and was adding a slash to the passwords, causing
authentication to fail. Turned it off in /etc/php/apache/php.ini and
problem went away.

Thanks again,

David.
Phil Brutsche wrote:
> 
> On Sun, 2002-01-06 at 19:07, David Ehle wrote:
> > Hello all!
> >
> > I'm having a VERY odd problem.  I finally trained my users to not use
> > bad passwords, and they are using them.  Now I get this.  I'm using 2
> > different Webmail Clients, postaci and squirrelmail.
> 
> [...]
> 
> > The same accounts and
> > passwords work fine with other IMAP clients such as Pine, Netscape and
> > Outlook/OE.
> 
> It's something I've noticed while working with PHP; when the web browser
> sends the username & password via either POST or GET, the ' and "
> characters are "specially encoded" such that they don't get decoded
> properly when the server decodes the variable & value pairs for your web
> app.
> 
> Maybe it's something to ask the authors of postaci and squirrelmail
> about?
> 
> Phil
> 
> _______________________________________________
> courier-users mailing list
> [EMAIL PROTECTED]
> Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to