Skip to content

Commit

Permalink
fix:Ensure security.txt file ends with a newline character
Browse files Browse the repository at this point in the history
Signed-off-by: Archisman Das <archisman.officials@gmail.com>
  • Loading branch information
Agnibaan authored and AndyScherzinger committed May 27, 2024
1 parent e3b6dca commit e1331d9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apps/settings/lib/WellKnown/SecurityTxtHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ public function handle(string $service, IRequestContext $context, ?IResponse $pr
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));
}
Expand Down

0 comments on commit e1331d9

Please sign in to comment.