mirror of
https://github.com/redmine/redmine.git
synced 2025-10-26 07:46:17 +01: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:
@@ -212,4 +212,4 @@ END_DESC
|
||||
end
|
||||
|
||||
handler = RedmineMailHandler.new
|
||||
exit(handler.submit(STDIN.read))
|
||||
exit(handler.submit(STDIN.read.force_encoding('ASCII-8BIT')))
|
||||
|
||||
Reference in New Issue
Block a user