diff options
author | John Molakvoæ <skjnldsv@users.noreply.github.com> | 2024-05-29 17:30:12 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-29 17:30:12 +0200 |
commit | a5fd623469b40c44881e4635de073d334b371bae (patch) | |
tree | 8281107688a0da2b6c5b6691e2cc684b3313056e /apps | |
parent | 9277def86bd81850fe88022037b3bbaf6ff962ec (diff) | |
parent | e1331d9edc06dde59447ca183849e848e26a628d (diff) | |
download | nextcloud-server-a5fd623469b40c44881e4635de073d334b371bae.tar.gz nextcloud-server-a5fd623469b40c44881e4635de073d334b371bae.zip |
Merge pull request #45508 from Agnibaan/issue-42611-security-txt-fix
fix:Ensure security.txt file ends with a newline character
Diffstat (limited to 'apps')
-rw-r--r-- | apps/settings/lib/WellKnown/SecurityTxtHandler.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/settings/lib/WellKnown/SecurityTxtHandler.php b/apps/settings/lib/WellKnown/SecurityTxtHandler.php index 26bf87d2f94..ff23c76082e 100644 --- a/apps/settings/lib/WellKnown/SecurityTxtHandler.php +++ b/apps/settings/lib/WellKnown/SecurityTxtHandler.php @@ -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)); } |