500 on viewing a commit
Created by: MrKeiKun
Summary
This is when viewing a commit with non-readable name of files on it
Logs
Started GET "/group/project/commit/44f7537a5da4b7bcdfdf63f43d203292f9c7a69f" for 112.207.49.253 at 2013-09-12 21:36:49 +0900
Processing by Projects::CommitController#show as HTML
Parameters: {"project_id"=>"group/project", "id"=>"44f7537a5da4b7bcdfdf63f43d203292f9c7a69f"}
Encoding::CompatibilityError (incompatible character encodings: UTF-8 and ASCII-8BIT):
app/models/commit.rb:134:in `method_missing'
app/models/commit.rb:62:in `diff_suppress?'
app/contexts/commit_load_context.rb:23:in `execute'
app/controllers/projects/commit_controller.rb:11:in `show'
Rendered errors/encoding.html.haml within layouts/errors (2.8ms)
Rendered layouts/_head.html.haml (2.9ms)
Rendered layouts/_search.html.haml (45.4ms)
Rendered layouts/_head_panel.html.haml (54.3ms)
Rendered layouts/_flash.html.haml (0.2ms)
Completed 500 Internal Server Error in 1501ms (Views: 71.6ms | ActiveRecord: 16.6ms)