ActionView::Template::Error (string contains null byte)... https://<gitlab>/<group>/<repo>/commit/<hash>
Steps to reproduce
Ticket: https://gitlab.zendesk.com/agent/tickets/103097 (internaly)
Customer:
I could reproduce the issue with a minimal repo and it's on gitlab.com
https://gitlab.com/hbre/faultyrepo
The second commit contains a file which is viable in the Web Editor
https://gitlab.com/hbre/faultyrepo/blob/master/.gitattributes
but when you click and commit in the repo you get a 500 error.
https://gitlab.com/hbre/faultyrepo/commit/22f5920021bf007580aa9b3895d53ac68e51173c
If you open it in Web IDE you just see junk
https://gitlab.com/-/ide/project/hbre/faultyrepo/edit/master/-/.gitattributes
Example Project
https://gitlab.com/hbre/faultyrepo
What is the current bug behavior?
You get a 500 error