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

Yousong Zhou yszhou4tech at gmail.com
Tue Feb 26 21:52:04 EST 2019


Resolves FS#2147

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

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:

_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list