This change adds some very basic name validation with the following plain-english description: names must be non-zero sequence of printable characters that do not contain slashes ('/' or '\') and are not equal to either "." or "..". The intent is that, since we currently just use database and retention policy names directly as path elements, these rules will hopefully leave us with names that should be at least close to valid directory names. Ideally, we would restrict names even further or not use them as path elements directly, but this should be a step towards the former without restricting names "too much" |
||
---|---|---|
.. | ||
config.go | ||
config_test.go | ||
meta_client.go | ||
meta_client_test.go | ||
points_writer.go | ||
points_writer_internal_test.go | ||
points_writer_test.go | ||
shard_mapper.go | ||
shard_mapper_test.go | ||
statement_executor.go | ||
statement_executor_test.go |