]> source.dussan.org Git - nextcloud-server.git/commit
fix(security)!: Use consistent HTTP status for strict cookie checks 37316/head
authorChristoph Wurst <christoph@winzerhof-wurst.at>
Tue, 21 Mar 2023 08:11:00 +0000 (09:11 +0100)
committerSimon L. (Rebase PR Action) <szaimen@e.mail.de>
Mon, 17 Apr 2023 16:06:37 +0000 (16:06 +0000)
commita06898a2d0c4403494747dbb4094dc21b6524348
treefca15a2408901137f84b930ad134a45c380e364e
parentb9520661406bc514ac16f11aeb85b1980d62f581
fix(security)!: Use consistent HTTP status for strict cookie checks

Before: 503/412
Now: 412 + json body explaining the error

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
lib/base.php
lib/private/AppFramework/Middleware/Security/Exceptions/StrictCookieMissingException.php