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

blob/fileblob: treat keys as slash-separated paths #33

Merged
merged 2 commits into from May 29, 2018
Merged

blob/fileblob: treat keys as slash-separated paths #33

merged 2 commits into from May 29, 2018

Conversation

zombiezen
Copy link
Contributor

Blobs can no longer be written outside the bucket directory.

Fixes #3

Blobs can no longer be written outside the bucket directory.

Fixes #3
@zombiezen zombiezen requested a review from shantuo May 25, 2018 21:45
Copy link
Contributor

@shantuo shantuo left a comment

Choose a reason for hiding this comment

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

Is there a reason not supporting UTF-8 object names?

@zombiezen
Copy link
Contributor Author

I assume you mean non-ASCII characters. I wanted to err on the side of ensuring that the names would be valid and not have special meaning on the filesystem. In particular, something like colon can potentially allow C:/foo.txt to do bad things on Windows. I'd be happy to open a bug to support Unicode characters and fix if there's demand.

@zombiezen
Copy link
Contributor Author

Opened #37 to track Unicode characters.

@zombiezen zombiezen merged commit a3ebcc7 into google:master May 29, 2018
@zombiezen zombiezen deleted the fileblobslash branch June 1, 2018 16:05
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.

None yet

2 participants