diff options
author | Yossi Gottlieb <yossigo@gmail.com> | 2022-01-18 12:52:27 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-18 12:52:27 +0200 |
commit | 25e6d4d4597d6ca06503d5fa76af0e4e1b57302e (patch) | |
tree | 66e78300bc0ec4983c0223e17a3065aa6793146c /src/config.c | |
parent | 51f9bed3dd8d35a59e9124e49450c9795822dbf5 (diff) | |
download | redis-25e6d4d4597d6ca06503d5fa76af0e4e1b57302e.tar.gz |
Fix additional AOF filename issues. (#10110)
This extends the previous fix (#10049) to address any form of
non-printable or whitespace character (including newlines, quotes,
non-printables, etc.)
Also, removes the limitation on appenddirname, to align with the way
filenames are handled elsewhere in Redis.
Diffstat (limited to 'src/config.c')
-rw-r--r-- | src/config.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/config.c b/src/config.c index d11445775..7915385cf 100644 --- a/src/config.c +++ b/src/config.c @@ -2166,10 +2166,6 @@ static int isValidAOFdirname(char *val, const char **err) { *err = "appenddirname can't be empty"; return 0; } - if (includeSpace(val)) { - *err = "appenddirname can't contain whitespace characters"; - return 0; - } if (!pathIsBaseName(val)) { *err = "appenddirname can't be a path, just a dirname"; return 0; |