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

[NIO] Make CloudStorageFileSystem#newFileSystem more lenient in the URIs it accepts #1450

Closed
tomwhite opened this issue Dec 6, 2016 · 1 comment
Assignees

Comments

@tomwhite
Copy link

tomwhite commented Dec 6, 2016

Currently the URIs must be of the form gs://bucket, and URIs with port, user info, path, query or fragment parts will fail.

This seems to be unnecessarily restrictive, and causes legitimate uses to fail - e.g. if we are trying to find a FileSystem for a given URI then we shouldn't have to know that GS is more restrictive than other providers, and remove everything from the URI except the scheme and host.

I suggest that the implementation accept the extra information in URIs and just ignore it.

@jean-philippe-martin
Copy link

Fixed in #1470.

github-actions bot pushed a commit that referenced this issue Aug 24, 2022
🤖 I have created a release *beep* *boop*
---


### Updating meta-information for bleeding-edge SNAPSHOT release.

---
This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
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

No branches or pull requests

3 participants