Message ID | 20190227025205.12016-1-yszhou4tech@gmail.com |
---|---|
State | Accepted |
Headers | show
Return-Path: <openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=lists.openwrt.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="KWpbg/fZ"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="Ho804e7p"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 448Kwd3Pk1z9s4Y for <incoming@patchwork.ozlabs.org>; Wed, 27 Feb 2019 13:52:32 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Subject:MIME-Version:Message-Id:Date:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=ysPA+I8BeuqwrOpmW1OgbALwK4rgRwYbXyYzIRLxukU=; b=KWpbg/fZenxXCL yyNYBQYylyNi1X4+zptLMDWrEtWugcELSe9YULnNKwzjRIvCTexkG19n+n596hA/BERKY1VlpT54h n78v0yNY5pyK9TyGqh2j8Uc9qJNze70+tmHbKU/6NoHgC42+BJxVkos4FkCCmlOwy806yEDAyRvEg h3Tj3Gzn7uGXKBQgedMdSKJABcbv6+tzSy2V+i5aT6vrcijalWsRgEGKbqvvF4Mq0BiaN6gSvLYav 0e+1ecvJxpIHbBsvblv+Q3q2sG8vbbqM8ynQeSZZ+IYtc4EvTML337NPFahMm1eukh68VGOGWVd1V iH8AoqAPdbiyifU9n79Q==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gypKU-0003Lc-R3; Wed, 27 Feb 2019 02:52:18 +0000 Received: from mail-pl1-x641.google.com ([2607:f8b0:4864:20::641]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gypKR-0003LH-SR for openwrt-devel@lists.openwrt.org; Wed, 27 Feb 2019 02:52:17 +0000 Received: by mail-pl1-x641.google.com with SMTP id b65so4200844plb.6 for <openwrt-devel@lists.openwrt.org>; Tue, 26 Feb 2019 18:52:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=RifY/y38JaqJp1orHRZ3/ZvVOY+XNJNbfj8YkoT40yw=; b=Ho804e7pUCqUiDDxvPHo0MdID3ay7axmpCtsvM/5MWKM5FfyfyIRrTcANox+Hmx767 gzYZqrz+g4tUUjq4LRqE4GxW6vHojTmYCkPS8A5XON8Yeqfp3IvCxWsnhq0hTi+rjDlr Jx5MgTW32mn2fu7GXRH7+ivpPRI1xd/OwG9lfhq+NAT08eDc//8RGgKe/8sJrnmmGM6V 87yK+liR/xf5B1/QZtN5I3ywpzgQ75SVHvl8Gg0g7sYFYyJggTiUtbxdRgFLbxQ6Y1b8 BOVqQ9xWS3aD+in+TiVHGuzL7MxhP5jMdJhvBYZvG8aOHsazmylWbNW+uD9haOhlGQM6 MIdw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=RifY/y38JaqJp1orHRZ3/ZvVOY+XNJNbfj8YkoT40yw=; b=Fe1bg7HJNqldTA/GAUGMK/gg10IrewvnKdCWEBZ/Udx7LrIdtK4eIo7gQECrtZWmiZ WlAF/T0KH7YD8eCqwg2WEIMoGQI0tu1n+qAmYGjUptBzl8MpMGyb8qORDXimuCT5Nmuc hNT/Jj61CoYBVc4IiaFwn3H38xcGp0Xc1QVPG5vZLYt9GBiwvjI65B2WkkFJ+DMdm1dz q6tj+2yXk9/zaSw34SueJJt/BGMqzO4qbGz72ZTDyObuZ95Rz2rAmyHreh6VErr6+blD +mnCcLu/Rkw9G8rHxGg1TOArf4G7tQQG+s1sOLTsEj64E5588RZr65Ka8IV85pEbeTNv 0eFg== X-Gm-Message-State: AHQUAuaK+sKPnSujjgEwFqhCcSpzDmlQxPizclTRQUCZclzdUQi9u4/9 QAAcKkzaR5ByOB0ULiZFkhY= X-Google-Smtp-Source: AHgI3IaSzgxMzw2timqTH87UYWrvWrxFJ/oApTjmUsg2jnT0n0zAIJ84KWLMneXj6ZA7HFS5T2Iafg== X-Received: by 2002:a17:902:7e49:: with SMTP id a9mr28142314pln.303.1551235934620; Tue, 26 Feb 2019 18:52:14 -0800 (PST) Received: from titan.localdomain.hq.cloud.yunionyun.com ([47.52.22.109]) by smtp.gmail.com with ESMTPSA id a66sm2625118pfj.153.2019.02.26.18.52.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 26 Feb 2019 18:52:13 -0800 (PST) From: Yousong Zhou <yszhou4tech@gmail.com> To: nbd@nbd.name Date: Wed, 27 Feb 2019 02:52:04 +0000 Message-Id: <20190227025205.12016-1-yszhou4tech@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190226_185216_166206_14CA4C50 X-CRM114-Status: UNSURE ( 7.40 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:641 listed in] [list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (yszhou4tech[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid Subject: [OpenWrt-Devel] [PATCH libubox] blobmsg_json: blobmsg_format_string: do not escape '/' X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <openwrt-devel.lists.openwrt.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/openwrt-devel>, <mailto:openwrt-devel-request@lists.openwrt.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/openwrt-devel/> List-Post: <mailto:openwrt-devel@lists.openwrt.org> List-Help: <mailto:openwrt-devel-request@lists.openwrt.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/openwrt-devel>, <mailto:openwrt-devel-request@lists.openwrt.org?subject=subscribe> Cc: Yousong Zhou <yszhou4tech@gmail.com>, openwrt-devel@lists.openwrt.org, lynxis@fe80.eu Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "openwrt-devel" <openwrt-devel-bounces@lists.openwrt.org> Errors-To: openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org |
Series |
[OpenWrt-Devel,libubox] blobmsg_json: blobmsg_format_string: do not escape '/'
|
expand
|
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:
Resolves FS#2147 Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com> --- blobmsg_json.c | 1 - 1 file changed, 1 deletion(-)