Skip to content

Commit

Permalink
Merge pull request #45508 from Agnibaan/issue-42611-security-txt-fix
Browse files Browse the repository at this point in the history
fix:Ensure security.txt file ends with a newline character
  • Loading branch information
skjnldsv authored May 29, 2024
2 parents 9277def + e1331d9 commit a5fd623
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 a5fd623

Please sign in to comment.