Ticket #1485292 (new Bugs)

Opened 3 months ago

Last modified 3 months ago

Special characters in username

Reported by: rosali Owned by:
Priority: 5 Milestone: later
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

  Changed 3 months ago by lukasGraf

ü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

  Changed 3 months ago by rosali

Yes you are right, but valid@über.net cause same problems either.

  Changed 3 months ago by lukasGraf

You might want to try using the Ascii compatible encoded form as a workaround, until IDNs are implemented in RoundCube: "valid@…"

follow-up: ↓ 5   Changed 3 months ago by lukasGraf

D'oh. That was supposed to be valid (at) xn--ber-goa.net. Sorry for cluttering up this bugreport.

in reply to: ↑ 4   Changed 3 months 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

Note: See TracTickets for help on using tickets.