Invalid UTF-8 is not displaying in Project and error loading commits
Summary
(Summarize the bug encountered concisely)
Steps to reproduce
- Open https://gitlab.com/testpilot/invalid-utf8
- You will not see the file name
- Load this commit https://gitlab.com/testpilot/invalid-utf8/commit/2b4b8850381b0815e190e7c5a447a9b627762e18
- You will get
500
Example Project
https://gitlab.com/labpilot/invalid-utf8
Relevant logs and/or screenshots
Output of checks
This bug happens on GitLab.com
Reference
https://github.com/cirosantilli/test-invalid-utf8
https://github.com/cirosantilli/test-invalid-utf8/commit/5351ad8011562bf39327314e81553f0976b724a3
Edited by Ghost User