Respect line endings from API calls
What does this MR do?
Set default autocrlf to false to keep user's line endings because gitlab should not modify user input on API calls. Reverts gitlab-foss!858 (merged) because it should use other APIs and/or another mechanism and keep source file line endings.
Fixes #21431 (closed) also needs gitaly!1744 (closed) and omnibus-gitlab!3852 (closed)
Does this MR meet the acceptance criteria?
Yes.
Conformity
-
Changelog entry -
Documentation (if required) -
Code review guidelines -
Merge request performance guidelines -
Style guides -
Database guides -
Separation of EE specific content
Availability and Testing
-
Review and add/update tests for this feature/bug. Consider all test levels. See the Test Planning Process. - [-] Tested in all supported browsers
Security
- [-] Label as security and @ mention
@gitlab-com/gl-security/appsec
-
The MR includes necessary changes to maintain consistency between UI, API, email, or other methods -
Security reports checked/validated by a reviewer from the AppSec team
Edited by 🤖 GitLab Bot 🤖