12 Jan
                
                    2005
                
            
            
                12 Jan
                
                '05
                
            
            
            
        
    
                8 p.m.
            
        Hi,
I've got a problem of authenticating users when they've got the % character in their login name. It always returns -ERR Authentication failed.
I've done some tests (explained below).
- the mysql answer to SELECT password FROM users WHERE uid = 'foo%domain.com' is 123
- the mysql answer to SELECT password FROM users WHERE uid = 'foo@domain.com' is 123
- with a password_query like this : password_query = SELECT password FROM users WHERE uid = '%u' it works fine with foo@domain.com but not with foo%domain.com
- everybody can login with password 123 with a password_query like this : password_query = SELECT password FROM users WHERE uid = 'foo%domain.com'
=> I don't know what's done with the % character when passed to the %u variable. Can somebody enlight me ?
Thanks a lot.
        7597
        
      
          Age (days ago)
        
      
        7597
        
    
          Last active (days ago)
        
        
        
        0 comments
    
    
        
        1 participants
    
    
    
    
    
    
    
    
    participants (1)
- 
                
                MAGALLON Lionel