Backport: emperor, dumpling
Reported-by: Dmitry Borodaenko <dborodaenko@mirantis.com>
Signed-off-by: Sage Weil <sage@inktank.com>
unquoted_word %= +char_("a-zA-Z0-9_.-");
str %= quoted_string | unquoted_word;
- spaces = +lit(' ');
+ spaces = +(lit(' ') | lit('\n') | lit('\t'));
// command := command[=]cmd [k1=v1 k2=v2 ...]
str_match = '=' >> str >> qi::attr(string());
" allow rwx",
"allow rwx ",
" allow rwx ",
- " allow rwx ",
+ " allow\t rwx ",
+ "\tallow\nrwx\t",
"allow service=foo x",
"allow service=\"froo\" x",
"allow profile osd",