Skip to content

don't unquote percent-encoded + in to_iri since doing so creates dangerous ambiguity - #158

Merged
wsanchez merged 3 commits into
masterfrom
maybe-a-little-plus-ultra
Apr 4, 2021
Merged

wsanchez merged 3 commits into
masterfrom
maybe-a-little-plus-ultra

Conversation

@glyph

@glyph glyph commented Mar 18, 2021

Copy link
Copy Markdown
Collaborator

As the unit tests here demonstrate, we should never modify a value in to_iri or to_uri in such a way that it will be interpreted differently by applications, particularly by DecodedURL.

@codecov

codecov Bot commented Apr 4, 2021 •

Copy link
Copy Markdown

Codecov Report

Merging #158 (412b2d3) into master (964bf47) will increase coverage by 0.06%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #158      +/-   ##
==========================================
+ Coverage   96.03%   96.09%   +0.06%     
==========================================
  Files          13       13              
  Lines        1840     1846       +6     
  Branches      212      214       +2     
==========================================
+ Hits         1767     1774       +7     
  Misses         59       59              
+ Partials       14       13       -1     
Impacted Files Coverage Δ
src/hyperlink/_url.py 97.12% <100.00%> (+0.13%) ⬆️
src/hyperlink/test/test_decoded_url.py 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 964bf47...412b2d3. Read the comment docs.

@wsanchez
wsanchez merged commit 77433f9 into master Apr 4, 2021
@wsanchez
wsanchez deleted the maybe-a-little-plus-ultra branch April 4, 2021 18:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants