You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ObjectStore::parse_url does not correctly decode URL paths, resulting in incorrect behaviour for paths containing spaces (or other non URL-safe characters).
To Reproduce
Expected behavior
#[test]
fn test_url_spaces() {
let url = Url::parse("file:///my file with spaces").unwrap();
assert_eq!(url.path(), "/my%20file%20with%20spaces");
let (_, path) = parse_url(&url).unwrap();
assert_eq!(path.as_ref(), "my file with spaces");
}
Describe the bug
ObjectStore::parse_url
does not correctly decode URL paths, resulting in incorrect behaviour for paths containing spaces (or other non URL-safe characters).To Reproduce
Expected behavior
Additional context
Relates to apache/datafusion#8012 and apache/datafusion#7877
The text was updated successfully, but these errors were encountered: