[ion] Storage: make Storage::nameCompliant less restrictive (accepts

.*\.[a-z]+). But Script::nameCompliant is stricted: [a-z_0-9.]*
This commit is contained in:
Émilie Feral
2018-09-13 11:07:16 +02:00
parent 51341f4abe
commit 08077cb141
6 changed files with 24 additions and 11 deletions

View File

@@ -86,7 +86,7 @@ private:
size_t overrideValueAtPosition(char * position, const void * data, record_size_t size);
bool isNameTaken(const char * name, Record * recordToExclude = nullptr);
bool nameCompliant(const char * name) const;
static bool nameCompliant(const char * name);
char * endBuffer();
size_t sizeOfRecord(const char * name, size_t size) const;
bool slideBuffer(char * position, int delta);