mjezorek/Mailpot — Issue #4: Crash on UTF-8
Author: mjezorek
Created: 2012-02-16 19:13:50+00:00
State: open

rmal\">=A1@

\n\t\t

\n\t\t\n\t\t=A6p=AB=DF=\n=AEv=A8=A3=C3=D2=B6O=A1A=ABH=ABO=B6O.....=B5=A5=\n

\n\t\t

=A1@

\n\t\t

\n\t\t\n\t\t\n\t\t=B5L=BD=D7=A6p=A6=F3=A1A=A7A=B3=A3=A4=A3=ADn=A5=FD=C3=BA=A5=F4=A6=F3=A4=E2=\n=C4=F2=B6O=A5H=A7K=A8=FC=C4F\n\t
\n

\n

=A1@

\n

=A1@

\n

=A1@

\n

=A1@

\n

=A1@

\n

\n\n=A9e=B0U=A5Z=B5n

\n

=A1@

\n\n

\n\n\n\n\n----=_st5kSO1vkjdKI--\n", :ip=>"114.42.14.185", :port=>2150}
Exception: redundant UTF-8 sequence
Backtrace:
/usr/lib/ruby/gems/1.8/gems/activesupport-3.2.1/lib/active_support/json/encoding.rb:130:in `unpack'
/usr/lib/ruby/gems/1.8/gems/activesupport-3.2.1/lib/active_support/json/encoding.rb:130:in `escape'
/usr/lib/ruby/gems/1.8/gems/activesupport-3.2.1/lib/active_support/json/encoding.rb:125:in `gsub'
/usr/lib/ruby/gems/1.8/gems/activesupport-3.2.1/lib/active_support/json/encoding.rb:125:in `escape'
/usr/lib/ruby/gems/1.8/gems/activesupport-3.2.1/lib/active_support/json/encoding.rb:69:in `escape'
/usr/lib/ruby/gems/1.8/gems/activesupport-3.2.1/lib/active_support/json/encoding.rb:177:in `encode_json'
/usr/lib/ruby/gems/1.8/gems/activesupport-3.2.1/lib/active_support/json/encoding.rb:48:in `encode'
/usr/lib/ruby/gems/1.8/gems/activesupport-3.2.1/lib/active_support/json/encoding.rb:77:in `check_for_circular_references'
/usr/lib/ruby/gems/1.8/gems/activesupport-3.2.1/lib/active_support/json/encoding.rb:46:in `encode'
/usr/lib/ruby/gems/1.8/gems/activesupport-3.2.1/lib/active_support/json/encoding.rb:252:in `encode_json'
/usr/lib/ruby/gems/1.8/gems/mail-2.4.1/lib/mail/header.rb:165:in `map'
/usr/lib/ruby/gems/1.8/gems/activesupport-3.2.1/lib/active_support/json/encoding.rb:252:in `each'
/usr/lib/ruby/gems/1.8/gems/activesupport-3.2.1/lib/active_support/json/encoding.rb:252:in `map'
/usr/lib/ruby/gems/1.8/gems/activesupport-3.2.1/lib/active_support/json/encoding.rb:252:in `encode_json'
/usr/lib/ruby/gems/1.8/gems/activesupport-3.2.1/lib/active_support/json/encoding.rb:48:in `encode'
/usr/lib/ruby/gems/1.8/gems/activesupport-3.2.1/lib/active_support/json/encoding.rb:77:in `check_for_circular_references'
/usr/lib/ruby/gems/1.8/gems/activesupport-3.2.1/lib/active_support/json/encoding.rb:46:in `encode'
/usr/lib/ruby/gems/1.8/gems/activesupport-3.2.1/lib/active_support/json/encoding.rb:31:in `encode'
/usr/lib/ruby/gems/1.8/gems/activesupport-3.2.1/lib/active_support/core_ext/object/to_json.rb:16:in `to_json'
/usr/lib/ruby/gems/1.8/gems/spa