Opened 7 years ago

Closed 7 years ago

#1364122 closed Bugs (fixed)

IMAP authentication fails with space at the end of password

Reported by: nobody Owned by: thomasb
Priority: 5 Milestone: 0.1-beta2
Component: IMAP connection Version: None
Severity: critical Keywords:
Cc:

Description (last modified by thomasb)

Hello,

When I attempt to login using a password with a space
on the end, I get a failed authentication. However,
when I change my system password to not have a space on
the end, then I am able to login properly.

Failed attempt
uid = 'bob'
pwd = 'bob '
IMAP server has 'bob' & 'bob '.

Changed system password from 'bob ' to 'bob'.

Successful attempt
uid = 'bob'
pwd = 'bob'
IMAP server has 'bob' & 'bob'.

Thanks,

  • Phil

pschultz@…

Change History (3)

comment:1 Changed 7 years ago by thomasb

  • Description modified (diff)
  • Milestone set to 0.1-beta2
  • Owner changed from roundcube to thomasb
  • Severity set to critical
  • Status changed from assigned to new

Must have something to do with the password encryption/decryption which adds spaces to the password string. These are removed with trim() in function decrypt_passwd()

comment:2 Changed 7 years ago by thomasb

  • Status changed from new to assigned

comment:3 Changed 7 years ago by thomasb

  • Resolution changed from None to fixed
  • Status changed from assigned to closed

Fixed in Trunk

Note: See TracTickets for help on using tickets.