Skip to content

Ignore .gitattributes if they contain invalid byte sequences

Stan Hu requested to merge sh-handle-invalid-gitattributes into master

Users that accidentally insert null bytes or other bytes may see 500 errors loading merge requests. To avoid that, we catch the bad data in .gitattributes and ignore it.

Closes https://gitlab.com/gitlab-org/gitlab/-/issues/216210

Edited by Stan Hu

Merge request reports