diff mbox series

[OpenWrt-Devel,libubox] blobmsg_json: blobmsg_format_string: do not escape '/'

Message ID 20190227025205.12016-1-yszhou4tech@gmail.com
State Accepted
Headers show
Series [OpenWrt-Devel,libubox] blobmsg_json: blobmsg_format_string: do not escape '/' | expand

Commit Message

Yousong Zhou Feb. 27, 2019, 2:52 a.m. UTC
Resolves FS#2147

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
---
 blobmsg_json.c | 1 -
 1 file changed, 1 deletion(-)
diff mbox series

Patch

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