mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2025-03-14 21:42:23 +00:00
Accept paths with : in them
This commit is contained in:
parent
fa287aeef7
commit
cd794a6985
@ -4310,7 +4310,7 @@ static int set_bucket(const char* arg)
|
||||
return -1;
|
||||
}
|
||||
bucket = strtok(bucket_name, ":");
|
||||
char* pmount_prefix = strtok(NULL, ":");
|
||||
char* pmount_prefix = strtok(NULL, "");
|
||||
if(pmount_prefix){
|
||||
if(0 == strlen(pmount_prefix) || '/' != pmount_prefix[0]){
|
||||
S3FS_PRN_EXIT("path(%s) must be prefix \"/\".", pmount_prefix);
|
||||
|
Loading…
x
Reference in New Issue
Block a user