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

Fix bug preventing GET params from being read on parametrized URLs. #326

Merged
merged 1 commit into from
Jun 30, 2023

Conversation

etr
Copy link
Owner

@etr etr commented Jun 30, 2023

Identify the Bug

It is not possible to get querystring arguments when using parameterized paths.

See: #325

Description of the Change

The bug was due to the populate_args method checking whether the cache was empty before executing. By doing so, it was ignoring that in case of parametrized URLs, the webserver class was loading the params as arguments. The new system uses a boolean specifically managed by the populate_args method.

Alternate Designs

N/D

Possible Drawbacks

None

Verification Process

Integration tests

Release Notes

Fixed bug preventing GET params from being read on parametrized URLs.

This also introduces tests to verify the bug doesn't return.

The bug was due to the populate_args method checking whether the
cache was empty before executing. By doing so, it was ignoring that
in case of parametrized URLs, the webserver class was loading the
params as arguments.
@etr etr merged commit d249ba6 into master Jun 30, 2023
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.

1 participant