Open mpfz0r opened 5 years ago
This is the library we are using for config parsing. So we could check if it somehow supports quoted values or open an issue/PR over there.
Another annoyance is that comma separated lists are not stripped from whitespaces:
my_list = foo, bar, baz
becomes "foo"
, " bar"
and " baz"
If you provide a path to a file or directory in graylog.conf that contains quotes, like
message_journal_dir = "data/journal"
we will use them literally for the directory. This can lead to some head scratching. Sometimes graylog will create directories with quotes:./"data/journal"/messagejournal-0
, or fail with an error message that isn't obvious:Expected Behavior
We should either interpret quoted strings, or reject them while parsing the configuration.