-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[stable29] Bug/48678/restore dav error response #49483
base: stable29
Are you sure you want to change the base?
Conversation
c7d77cc
to
2ba73b4
Compare
Conflicts: Constructor property promotion and Imports in Server and ServerFactory |
$error->setAttribute('xmlns:s', self::NS_SABREDAV); | ||
$DOM->appendChild($error); | ||
|
||
$h = function ($v) { |
Check notice
Code scanning / Psalm
MissingClosureReturnType Note
$error->setAttribute('xmlns:s', self::NS_SABREDAV); | ||
$DOM->appendChild($error); | ||
|
||
$h = function ($v) { |
Check notice
Code scanning / Psalm
MissingClosureParamType Note
} | ||
class BrowserErrorPagePlugin extends ServerPlugin { | ||
/** @var Server */ | ||
private $server; |
Check notice
Code scanning / Psalm
MissingConstructor Note
$this->server->httpResponse->setHeader('Content-Type', 'application/xml; charset=utf-8'); | ||
} | ||
public function generateBody(int $httpCode) { | ||
$request = \OC::$server->getRequest(); |
Check notice
Code scanning / Psalm
DeprecatedMethod Note
2ba73b4
to
95ea51a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Blocking
…eption output" This reverts commit e202896. Signed-off-by: Daniel Kesselberg <[email protected]>
This reverts commit d2bf361. Signed-off-by: Daniel Kesselberg <[email protected]>
This reverts commit 9992e7d. Signed-off-by: Daniel Kesselberg <[email protected]>
95ea51a
to
e8c6d05
Compare
Signed-off-by: Daniel Kesselberg <[email protected]>
e8c6d05
to
5de28cf
Compare
Backport of #49004
Warning, This backport's changes differ from the original and might be incomplete⚠️
Todo
Learn more about backports at https://docs.nextcloud.com/server/stable/go.php?to=developer-backports.