Browse Source

fix:Ensure security.txt file ends with a newline character

Signed-off-by: Archisman Das <archisman.officials@gmail.com>
pull/45508/head
Archisman Das 1 year ago
committed by Andy Scherzinger
parent
commit
e1331d9edc
  1. 3
      apps/settings/lib/WellKnown/SecurityTxtHandler.php

3
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));
}

Loading…
Cancel
Save