blobmsg_json: blobmsg_format_string: do not escape '/' master
authorYousong Zhou <yszhou4tech@gmail.com>
Wed, 27 Feb 2019 02:48:47 +0000 (02:48 +0000)
committerYousong Zhou <yszhou4tech@gmail.com>
Wed, 27 Feb 2019 02:50:02 +0000 (02:50 +0000)
Resolves FS#2147

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
blobmsg_json.c

index ca9dd1a..59a4b31 100644 (file)
@@ -185,7 +185,6 @@ static void blobmsg_format_string(struct strbuf *s, const char *str)
                        break;
                case '"':
                case '\\':
-               case '/':
                        escape = *p;
                        break;
                default: