gitlabhq/gitlabhq — Issue #157: Error 500 on commit view
Author: ufna
Created: 2011-11-28 01:17:10+00:00
State: open

From logfile:

ActionView::Template::Error (invalid byte sequence in UTF-8):
3: - lines_arr = diff.diff.lines.to_a
4: - lines_arr.each do |line|
5: - line.force_encoding(Encoding::UTF_8)
6: - next if line.match(/^--- \/dev\/null/)
7: - next if line.match(/^--- a/)
8: - next if line.match(/^\+\+\+ b/)
9: - if line.match(/^@@ -/)
app/views/commits/_text_file.html.haml:6:in `match'
app/views/commits/_text_file.html.haml:6:in `match'
app/views/commits/_text_file.html.haml:6:in `block in _app_views_commits__text_file_html_haml___547701424848961860_43537420'
app/views/commits/_text_file.html.haml:4:in `each'
app/views/commits/_text_file.html.haml:4:in `_app_views_commits__text_file_html_haml___547701424848961860_43537420'
app/views/commits/_diff.html.haml:18:in `block in _app_views_commits__diff_html_haml___2514220832362293068_51073320'
app/views/commits/_diff.html.haml:4:in `each'
app/views/commits/_diff.html.haml:4:in `_app_views_commits__diff_html_haml___2514220832362293068_51073320'
app/views/commits/show.html.haml:29:in `_app_views_commits_show_html_haml__478605241471832011_55794280'
app/controllers/commits_controller.rb:30:in `show'