500 Error when trying to view a commit that changed sql files
Created by: invisiblek
When viewing the file (blob) works fine, as does an initial commit, but when I attempt to view a commit that changed a .sql file, I get a 500 error.
Scenario: started a new, test repo. Commited some sql files in various folders as an initial commit. Push to gitlab server. I can view this commit just fine. Moved some of the files around to different folders (without changing anything in the files), commited, pushed, get a 500 error when attempting to view in gitlab.
Related in my production.log:
Encoding::CompatibilityError (incompatible character encodings: UTF-8 and ASCII-8BIT):
Also, if when viewing the blob, I chose the blame view, I get all sorts of Chinese characters.
Quite an odd issue. I can view other commits that don't involve an sql script just fine.
Gitlab 6.1.0 b5955039 nginix/1.2.1