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

[stable26] fix(dav): Abort requests with 429 instead of waiting #39252

Merged
merged 1 commit into from
Jul 10, 2023

Conversation

nickvergessen
Copy link
Member

Backport #38046

@nickvergessen nickvergessen added the 3. to review Waiting for reviews label Jul 10, 2023
@nickvergessen nickvergessen added this to the Nextcloud 26.0.4 milestone Jul 10, 2023
@nickvergessen nickvergessen self-assigned this Jul 10, 2023
// 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 a87a931 into stable26 Jul 10, 2023
@nickvergessen nickvergessen deleted the backport/38046/stable26 branch July 10, 2023 12:30
@blizzz blizzz mentioned this pull request Jul 10, 2023
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