Error 500 on commit view (incompatible character)
Closed
Error 500 on commit view (incompatible character)
Created by: p0123n
Rendered commits/show.html.haml within layouts/project (267.7ms) Completed 500 Internal Server Error in 281ms
ActionView::Template::Error (incompatible character encodings: UTF-8 and ASCII-8BIT):
16: .diff_file_content
17: - if file.text?
18: = render :partial => "commits/text_file", :locals => { :diff => diff, :index => i }
19: - elsif file.image?
20: .diff_file_content_image
21: %img{:src => "data:#{file.mime_type};base64,#{Base64.encode64(file.data)}"}
22: - else
app/views/commits/_diff.html.haml:19:in block in _app_views_commits__diff_html_haml___2540800824834184374_46788400' app/views/commits/_diff.html.haml:4:in
each'
app/views/commits/_diff.html.haml:4:in each_with_index' app/views/commits/_diff.html.haml:4:in
_app_views_commits__diff_html_haml___2540800824834184374_46788400'
app/views/commits/show.html.haml:25:in _app_views_commits_show_html_haml___4151098555950872972_52921260' app/controllers/commits_controller.rb:30:in
show'
Created by: brodock
The solution I've comented here on #725 - https://github.com/gitlabhq/gitlabhq/issues/725#issuecomment-5519854 may help fix this issue
By Administrator on 2012-05-05T01:40:47 (imported from GitLab project)