Defect #10334
closedFull name is not unquoted when creating users from emails
0%
Description
Ruby version 1.8.7 (x86_64-linux)
RubyGems version 1.7.2
Rack version 1.1
Rails version 2.3.14
Active Record version 2.3.14
Active Resource version 2.3.14
Action Mailer version 2.3.14
Active Support version 2.3.14
Edge Rails revision unknown
Application root /usr/share/redmine
Environment production
Database adapter sqlite3
Database schema version 20110902000000
When creating users from emails with internationalized From-headers, fullname is not unquoted.
The following email, passed to rdm-mailhandler.rb (with appropriate --url, --key, --project, --tracker, --no-permission-check options and --unknown-user=create)
From: =?utf-8?b?w4TDpCDDlsO2?= <foo@example.org> Subject: foo Content-Type: text/plain; charset=utf-8 testing user creation with quoted From-header
creates a user whose fullname is set to '=?utf-8?b?w4TDpCDDlsO2?= -', when it should in fact be set to "Ää Öö".
The attached patch based on the 1.3-stable branch (svn r8910) fixes this issue.
(It's possible this is actually a bug in TMail (which is what Rails 2 uses), but that doesn't seem to be maintained anymore; the last release and latest mail sent to its mailing list were in 2010.)
Files
Updated by Jean-Philippe Lang over 12 years ago
- Assignee set to Jean-Philippe Lang
- Target version set to 1.4.0
- Resolution set to Fixed
Fixed and test added in r9043. Thanks.
Updated by Jean-Philippe Lang over 12 years ago
- Status changed from New to Closed