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

services/fs: Handle the drive letter in connection string for Windows #952

Open
Prnyself opened this issue Aug 18, 2021 · 1 comment
Open

Comments

@Prnyself
Copy link
Member

For now, we use : as the separator for the connection string.

But in Windows os, the path is usually like: C:\\folder\to\file.txt, which cannot be parsed as expected for now.

Moreover, we should specify the format of Windows-fs-like connection string.

ref: https://github.com/beyondstorage/go-storage/blob/master/services/new.go#L157

@Xuanwo
Copy link
Contributor

Xuanwo commented Aug 19, 2021

GSP-90 requires a quote for values that contains : or &. Is fs://"C:\\folder\to\file.txt" works correctly?

@Xuanwo Xuanwo changed the title Handle the drive letter in connection string for Windows services/fs: Handle the drive letter in connection string for Windows Oct 22, 2021
@Xuanwo Xuanwo transferred this issue from beyondstorage/go-service-fs Oct 22, 2021
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

2 participants