Missing text in issue description

Added by Alexander Kirillov about 9 years ago

The text between double angle quotes («») is missing in issue description in issues
created based on incoming emails with redmine:email:receive_imap rake task.

Please advise.

Redmine version: 2.2.4
System locale: ru_RU.UTF-8

About your application's environment
Ruby version              1.8.7 (x86_64-linux)
RubyGems version          1.3.7
Rack version              1.4
Rails version             3.2.13
Active Record version     3.2.13
Action Pack version       3.2.13
Active Resource version   3.2.13
Action Mailer version     3.2.13
Active Support version    3.2.13
Middleware                Rack::Cache, ActionDispatch::Static, Rack::Lock, #<ActiveSupport::Cache::Strategy::LocalCache::Middleware:0x7f21219f8690>, Rack::Runtime, Rack::MethodOverride, ActionDispatch::RequestId, Rails::Rack::Logger, ActionDispatch::ShowExceptions, ActionDispatch::DebugExceptions, ActionDispatch::RemoteIp, ActionDispatch::Callbacks, ActiveRecord::ConnectionAdapters::ConnectionManagement, ActiveRecord::QueryCache, ActionDispatch::Cookies, ActionDispatch::Session::CookieStore, ActionDispatch::Flash, ActionDispatch::ParamsParser, ActionDispatch::Head, Rack::ConditionalGet, Rack::ETag, ActionDispatch::BestStandardsSupport, OpenIdAuthentication
Application root          /var/www/vhosts/redmine-test
Environment               production
Database adapter          mysql
Database schema version   20121026003537

Replies (2)

RE: Missing text in issue description - Added by Alexander Kirillov about 9 years ago

Is anybody with similar setup seeing this behaviour?
Does it work for some?

RE: Missing text in issue description - Added by Alexander Kirillov almost 9 years ago

The culprit was angle brackets in text/plain part of multipart/aletrnative message which correspond to double angle quotes in text/html.

I could resolve the problem replacing < > with &lt; &gt; in procmail filter.

Seems like redmine-2.2.4 doesn't properly handle angle brackets when creating issues based on incoming emails.

(1-2/2)