You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "tustvold (via GitHub)" <gi...@apache.org> on 2023/11/01 08:47:17 UTC
[I] ObjectStore parse_url Incorrectly Handles URLs with Spaces [arrow-rs]
tustvold opened a new issue, #5017:
URL: https://github.com/apache/arrow-rs/issues/5017
**Describe the bug**
<!--
A clear and concise description of what the bug is.
-->
`ObjectStore::parse_url` does not correctly decode URL paths, resulting in unfortunate behaviour for paths containing spaces (or other non URL-safe characters).
**To Reproduce**
<!--
Steps to reproduce the behavior:
-->
**Expected behavior**
<!--
A clear and concise description of what you expected to happen.
-->
```
#[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");
}
```
**Additional context**
<!--
Add any other context about the problem here.
-->
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] ObjectStore parse_url Incorrectly Handles URLs with Spaces [arrow-rs]
Posted by "tustvold (via GitHub)" <gi...@apache.org>.
tustvold closed issue #5017: ObjectStore parse_url Incorrectly Handles URLs with Spaces
URL: https://github.com/apache/arrow-rs/issues/5017
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] ObjectStore parse_url Incorrectly Handles URLs with Spaces [arrow-rs]
Posted by "tustvold (via GitHub)" <gi...@apache.org>.
tustvold commented on issue #5017:
URL: https://github.com/apache/arrow-rs/issues/5017#issuecomment-1790474504
`label_issue.py` automatically added labels {'object-store'} from #5018
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org