Skip to content
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

[stable22] fix(dav): Abort requests with 429 instead of waiting #39256

Merged
merged 3 commits into from
Jul 10, 2023

Conversation

nickvergessen
Copy link
Member

Backport #38046 and #37227

kesselb and others added 3 commits July 10, 2023 06:58
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Signed-off-by: Joas Schilling <coding@schilljs.com>
// set ownCloud namespace
$errorNode->setAttribute('xmlns:o', self::NS_OWNCLOUD);

$error = $errorNode->ownerDocument->createElementNS('o:', 'o:hint', 'too many requests');

Check notice

Code scanning / Psalm

PossiblyNullReference

Cannot call method createElementNS on possibly null value
@nickvergessen nickvergessen merged commit 149148e into stable22 Jul 10, 2023
@nickvergessen nickvergessen deleted the backport/38046/stable22 branch July 10, 2023 12:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants