Skip to content

Commit decd456

Browse files
committed
fix:Ensure security.txt file ends with a newline character
Signed-off-by: Archisman Das <archisman.officials@gmail.com>
1 parent ae4a6e8 commit decd456

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

apps/settings/lib/WellKnown/SecurityTxtHandler.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@ public function handle(string $service, IRequestContext $context, ?IResponse $pr
4242
Acknowledgments: https://hackerone.com/nextcloud/thanks
4343
Acknowledgments: https://github.com/nextcloud/security-advisories/security/advisories
4444
Policy: https://hackerone.com/nextcloud
45-
Preferred-Languages: en";
45+
Preferred-Languages: en
46+
";
4647

4748
return new GenericResponse(new TextPlainResponse($response, 200));
4849
}

0 commit comments

Comments
 (0)