-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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: Fix scanning cloud paths with spaces #17379
Conversation
} else { | ||
std::borrow::Cow::Borrowed(key) | ||
}; | ||
let key = percent_encoding::percent_decode_str(key) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
revert wrong approach from previous PR for supporting % in paths
let input = if input.starts_with("https://") { | ||
std::borrow::Cow::Borrowed(input) | ||
} else { | ||
// Some paths may contain '%', we need to double-encode as it doesn't seem |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
revert wrong approach
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #17379 +/- ##
==========================================
+ Coverage 80.72% 80.74% +0.01%
==========================================
Files 1475 1475
Lines 193383 193383
Branches 2760 2760
==========================================
+ Hits 156113 156142 +29
+ Misses 36760 36731 -29
Partials 510 510 ☔ View full report in Codecov by Sentry. |
Fixes #17335