Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
AlirieGray committed Aug 5, 2020
1 parent 41cb12a commit 19803d1
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tenant/http_server_bucket.go
Original file line number Diff line number Diff line change
Expand Up @@ -498,5 +498,13 @@ func validBucketName(bucket *influxdb.Bucket) error {
Msg: fmt.Sprintf("bucket name %s is invalid. Buckets may not start with underscore", bucket.Name),
}
}
// special characters are not permitted
// if strings.ContainsAny(bucket.Name, "\"?") {
// return &influxdb.Error{
// Code: influxdb.EInvalid,
// Op: "http/bucket",
// Msg: fmt.Sprintf("bucket name %s is invalid. Bucket names may not include special characters", bucket.Name),
// }
// }
return nil
}

0 comments on commit 19803d1

Please sign in to comment.