blobmsg_json: blobmsg_format_string: do not escape '/'
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 ca9dd1a4a8eff1f959e0ae193e45d4e528e7e04e..59a4b3183d8cc448d67fbd66f3e0fb32a4f83622 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: