6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
1/10/26
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#8996] accidental whitespace in username causing problems in session
*
Your Email Address
*
Spam protection
Enter the letters below:
._..__. __ . .__ | | |/ `| | \ _|_|__\\__.|___|__/
Comment
> Theoretically, your fix is incorrect. Per RFC 3501, a username is > allowed to have spaces. I personally can't think of a rational > situation where a username would have leading/trailing whitespace, > but those are the rules. > > However, c-client should be sending the username in a quoted string > and/or a literal. So these logins *should* be failing in the first > place (the expected behavior) since "user " != "user". So either > PHP/c-client is internally trimming the whitespace on the username in > an imap_open() call, it is sending the username without quoting, or > cyrus is ignoring the trailing whitespace. I would guess the 1st, > but you would have to do IMAP logging on the cyrus side to verify.
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers