HashMapCatalog: handle more standard escpae sequences.

Fixes #14705
This commit is contained in:
Adrien Destugues 2019-08-31 18:40:13 +02:00
parent 91c8637753
commit 60b52ce0bc
1 changed files with 11 additions and 1 deletions

View File

@ -159,10 +159,20 @@ parseQuotedChars(BString& stringToParse)
while (*in != 0) {
if (quoted) {
if (*in == 'n')
if (*in == 'a')
*out = '\a';
else if (*in == 'b')
*out = '\b';
else if (*in == 'f')
*out = '\f';
else if (*in == 'n')
*out = '\n';
else if (*in == 'r')
*out = '\r';
else if (*in == 't')
*out = '\t';
else if (*in == 'v')
*out = '\v';
else if (*in == '"')
*out = '"';
else if (*in == 'x') {