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 mutating path of URL without authority (idempotency, empty path segments) #996

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

theskim
Copy link
Contributor

@theskim theskim commented Nov 8, 2024

From Issue #984

Copy link

codecov bot commented Nov 8, 2024

Codecov Report

Attention: Patch coverage is 93.10345% with 2 lines in your changes missing coverage. Please review.

Please upload report for BASE (main@da64903). Learn more about missing BASE report.

Files with missing lines Patch % Lines
url/src/path_segments.rs 88.88% 2 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #996   +/-   ##
=======================================
  Coverage        ?   80.53%           
=======================================
  Files           ?       24           
  Lines           ?     4279           
  Branches        ?        0           
=======================================
  Hits            ?     3446           
  Misses          ?      833           
  Partials        ?        0           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Collaborator

@valenting valenting left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If I'm not mistaken, these failing tests should also be made to pass as part of this test

<non-spec:/.//p> set hostname to <h>
<non-spec:/.//p> set hostname to <>

That's about mutating the host, not the path, but I think the behaviour is closely related to this one.

url/tests/unit.rs Show resolved Hide resolved
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.

2 participants