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

Prevent infinite recursion when querying #344

Merged
merged 2 commits into from
Nov 7, 2023
Merged

Prevent infinite recursion when querying #344

merged 2 commits into from
Nov 7, 2023

Conversation

bchardin
Copy link
Contributor

@bchardin bchardin commented Nov 7, 2023

An infinite recursion could occur when the server responded with an error code 500 and the body of the request did not contain the binary string "<C:calendar-data/>".

Now the application checks that this binary string is present.

This PR should fix #343.

@tobixen tobixen added this pull request to the merge queue Nov 7, 2023
Merged via the queue into python-caldav:master with commit 12fb234 Nov 7, 2023
6 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Infinite recursion when calendar-data is not present in the body, and the server responds with error code 500.
2 participants