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

Unescape #119

Merged
merged 1 commit into from
Sep 12, 2024
Merged

Unescape #119

merged 1 commit into from
Sep 12, 2024

Conversation

John-LittleBearLabs
Copy link
Collaborator

This bug showed up while adding to unit test coverage as per the usual cycle.

Fixes #117
The default impl only:
not in Chromium.

Copy link

codecov bot commented Aug 28, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 50.98%. Comparing base (bff1b28) to head (ea7e9d9).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #119      +/-   ##
==========================================
+ Coverage   50.49%   50.98%   +0.48%     
==========================================
  Files         477      479       +2     
  Lines       16177    16207      +30     
  Branches     1758     1759       +1     
==========================================
+ Hits         8169     8263      +94     
+ Misses       7452     7387      -65     
- Partials      556      557       +1     

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

The default impl only:
not in Chromium.
@@ -25,10 +25,10 @@ std::string u::RoughlyUnescapeUrlComponent(std::string_view url_comp) {
if (c <= '9') {
return c - '0';
}
if (c <= 'Z') {
return c - 'A';
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Here's the essential change of this PR.

@John-LittleBearLabs John-LittleBearLabs merged commit 3134d43 into main Sep 12, 2024
9 checks passed
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.

The default url unescaper in ipfs_client incorrectly handles digits a-f
2 participants