Merge pull request #45508 from Agnibaan/issue-42611-security-txt-fix

fix:Ensure security.txt file ends with a newline character
This commit is contained in:
John Molakvoæ 2024-05-29 17:30:12 +02:00 committed by GitHub
commit a5fd623469
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -42,7 +42,8 @@ Expires: 2024-08-31T23:00:00.000Z
Acknowledgments: https://hackerone.com/nextcloud/thanks
Acknowledgments: https://github.com/nextcloud/security-advisories/security/advisories
Policy: https://hackerone.com/nextcloud
Preferred-Languages: en";
Preferred-Languages: en
";
return new GenericResponse(new TextPlainResponse($response, 200));
}