-
Notifications
You must be signed in to change notification settings - Fork 192
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
RESTAPI: treat 'false' as False in url parsing (#5573)
fixes #3635 The parser function that we use to parse the query string doesn't parse booleans as expected. When passing `false` in URL it will pared as `True` which is not correct. This PR fixes it by comparing the `true` or `false` attribute in url directly with the string `'true'` and return bool type. Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Cherry-pick: 7772adc
- Loading branch information
Showing
2 changed files
with
4 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters