500 Encoding Error error on commit page
Created by: dengzhp
The commit adds two files with name in Chinese.
relevent production log:
Started GET "/freestyler/test/commit/abcde0b13279b92aa0d2eb67c706253dd48e2b17" for 192.168.55.254 at 2013-08-06 10:59:44 +0800
Processing by CommitController#show as HTML
Parameters: {"project_id"=>"freestyler/test", "id"=>"abcde0b13279b92aa0d2eb67c706253dd48e2b17"}
Encoding::CompatibilityError (incompatible character encodings: UTF-8 and ASCII-8BIT):
app/models/commit.rb:69:in `method_missing'
app/contexts/commit_load_context.rb:23:in `execute'
app/controllers/commit_controller.rb:11:in `show'
Rendered errors/encoding.html.haml within layouts/errors (0.2ms)
Rendered layouts/_head.html.haml (2.7ms)
Rendered layouts/_search.html.haml (269.3ms)
Rendered layouts/_head_panel.html.haml (289.0ms)
Rendered layouts/_flash.html.haml (0.2ms)
Completed 500 Internal Server Error in 468ms (Views: 267.6ms | ActiveRecord: 41.5ms)
gitlab version: 5.4