Opened 5 years ago
Closed 3 years ago
#1485292 closed Bugs (duplicate)
Special characters in username
| Reported by: | rosali | Owned by: | |
|---|---|---|---|
| Priority: | 5 | Milestone: | 0.5-beta |
| Component: | PHP backend | Version: | 0.2-alpha |
| Severity: | normal | Keywords: | |
| Cc: |
Description
Assume that "über@über.net" is a valid and existing user. If I try to login with this user, I a valid login in my MTA logs (hmailserver). RoundCube Login fails with the message "Session invalid or expired".
The reason is that RoundCube creates a user in users table with an empty username field.
It is a serious problem for me, because I urgently need support for IDNA domains!
-Roland
Change History (7)
comment:1 Changed 5 years ago by lukasGraf
comment:2 Changed 5 years ago by rosali
Yes you are right, but valid@über.net cause same problems either.
comment:3 Changed 5 years ago by lukasGraf
You might want to try using the Ascii compatible encoded form as a workaround, until IDNs are implemented in RoundCube: "valid@…"
comment:4 follow-up: ↓ 5 Changed 5 years ago by lukasGraf
D'oh. That was supposed to be valid (at) xn--ber-goa.net. Sorry for cluttering up this bugreport.
comment:5 in reply to: ↑ 4 Changed 5 years ago by rosali
Replying to lukasGraf:
D'oh. That was supposed to be valid (at) xn--ber-goa.net. Sorry for cluttering up this bugreport.
Did it this way and it works.
Real Name/Domain?: IDN encoded
Alias: valid@über.net
Nethertheless RoundCube should never create users in users table with empty username field.
And it is still not perfect because identiy etc. do show up encoded.
-Roland
comment:6 Changed 3 years ago by alec
- Milestone changed from later to 0.5-beta
comment:7 Changed 3 years ago by alec
- Resolution set to duplicate
- Status changed from new to closed
Duplicate of #1483894

über@über.net is not a valid email address. While the domain-part may be an IDN, the local part is still defined by RFC 2822, which only allows 7Bit-ASCII characters in the local part.
See
http://idn.icann.org/E-mail_test
http://www.remote.org/jochen/mail/info/chars.html
http://tools.ietf.org/html/rfc2822#section-3.4.1