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

test_url_query: Expand tests #848

Closed
wants to merge 7 commits into from
Closed

test_url_query: Expand tests #848

wants to merge 7 commits into from

Conversation

mjpieters
Copy link
Contributor

Expanding URL-query tests to cover more behaviors around special chars
when parsing, setting, re-setting and getting values.

Originally created as PR #220.

besfahbod and others added 7 commits April 19, 2023 16:47
Expanding URL-query tests to cover more behaviors around special chars
when parsing, setting, re-setting and getting values.

Bug revealed are marked with `FIXME` to address separately.
Semi-colons are _not_ reserved characters in the query string of a URL;
the query string portion consists of `pchar` characters, and `pchar`
includes `sub-delim`, which is the class that contains `;`.
- There is no way to distinguish between `?a=` and `?a` when rebuilding
  a query string.
- The further encoding of query delimiters (`=` and `&` in query
  _values_ is entirely normal and expected.
@codecov
Copy link

codecov bot commented Apr 19, 2023

Codecov Report

Merging #848 (11450de) into master (eb2f08f) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #848   +/-   ##
=======================================
  Coverage   99.73%   99.73%           
=======================================
  Files           4        4           
  Lines         768      768           
  Branches      217      217           
=======================================
  Hits          766      766           
  Misses          2        2           
Flag Coverage Δ
unit 99.60% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@mjpieters
Copy link
Contributor Author

Turns out this new PR is not needed, as the branch push has been picked up by the original PR.

@mjpieters mjpieters closed this Apr 19, 2023
@mjpieters mjpieters deleted the query_1 branch April 20, 2023 21:11
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.

3 participants