mirror of
https://github.com/meineerde/redmine.git
synced 2026-02-03 23:53:23 +00:00
Incoming emails may cause "invalid byte sequence" error depending on the default external encoding, due to r18317 (#31549).
git-svn-id: http://svn.redmine.org/redmine/trunk@18544 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
e368e7619b
commit
50becaf5ee
@ -212,4 +212,4 @@ END_DESC
|
||||
end
|
||||
|
||||
handler = RedmineMailHandler.new
|
||||
exit(handler.submit(STDIN.read))
|
||||
exit(handler.submit(STDIN.read.force_encoding('ASCII-8BIT')))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user