From unknown Tue Jun 17 22:17:34 2025 X-Loop: help-debbugs@gnu.org Subject: bug#48274: 27.2; libjanson: \u0000 is not allowed without JSON_ALLOW_NUL Resent-From: "Peter" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 07 May 2021 07:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 48274 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 48274@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.162037182927695 (code B ref -1); Fri, 07 May 2021 07:18:01 +0000 Received: (at submit) by debbugs.gnu.org; 7 May 2021 07:17:09 +0000 Received: from localhost ([127.0.0.1]:42243 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1leujU-0007Cd-Un for submit@debbugs.gnu.org; Fri, 07 May 2021 03:17:09 -0400 Received: from lists.gnu.org ([209.51.188.17]:58700) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1leujR-0007CV-5K for submit@debbugs.gnu.org; Fri, 07 May 2021 03:17:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50636) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1leujQ-0002ZA-Ts for bug-gnu-emacs@gnu.org; Fri, 07 May 2021 03:17:05 -0400 Received: from mout.gmx.net ([212.227.17.20]:56857) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1leujP-0000Tp-0v for bug-gnu-emacs@gnu.org; Fri, 07 May 2021 03:17:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1620371819; bh=3KAX8EUIHLEY2wSLrem4YWmbiTkmHujrEozcjRFQ6qk=; h=X-UI-Sender-Class:From:To:Subject:Date; b=SiWIYd9Ek3Wzxifd/oL427By5W4I0wXDtduFZRev5myLfIE3F0wfw6R57y2SJRHcz P9MfXCs2oSqpBRBN0q298Cfyhoc4lfiELP8uq+s+l8lOwmhQj4pqq+6Wj6IzRphgqz qgYnrNS4jT+ysd8hShLonp/BrooUrEz0RKIzzjmM= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from nexoid.at ([178.79.130.240]) by mail.gmx.net (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1Mel3t-1l4l262ef7-00alLE for ; Fri, 07 May 2021 09:16:59 +0200 From: "Peter" DKIM-Filter: OpenDKIM Filter v2.10.3 nexoid.at A464FBC7E Date: Fri, 07 May 2021 09:16:57 +0200 Message-ID: <87r1ijhv2u.fsf@nexoid.at> MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:oha6eS4eZTQyB35cCkIbrEJ2vBx00B2S13mSwsTLQjG8OL2bSAz PqvFtmRe1r3XJQ6kchc1bXqwkzSLlsOnBNEvx/UhCoziL19w2WdtaUlAhiDBLikEj7Esb9y fUeDhHUAx5DMBIOyNjjlHTja4XlbsAtyTlm3vXAiXSma/FD7vZQdtSOxre4A+/hzaczdW5p RtXdD5elxI8xZr65HA23A== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:PN3R2Xxmnl0=:LdYuDL+8v9dK7pHBCL/oX7 mDUUPsnvMmqZONnKAvqA7GZdROhY2WHlJcvnaRR4wkNBH42F0HSrceFO7dXH2eICuXxPZgJQU 6Hw2F3OJv5C6D3qUM9W4E54LuljzKNBHZLDqWX7LgcTwo88Q4ncmQ5PLqRFMLc+aPsDERuZe4 ewxDWhL5D9+x69zyFvMCzSmTb3Hqa7iC+QA+NKD5amojLK/9rart9+cnGPe0bRcM3mIyZFCg8 eCkVMcm1wA1G2ftqnzan5F0ZdXhLYr0G8xc/qfEmNkdZtmzKm16n9bbRh4kjA9Mb8FMQ2909T fVq+Pssu5EIODs1oolVvarAoJhXiH9HPXIyMrTtI4bdPuC13jQav32zd+EgXeLwlTDfa2Va1e n75hwPDXHxDPbc0bxf3fJ5kjOraE3jqf8Bt2fFzFYkhDWBE9pk4njGFIfNcFhsYEbOKr1tPC6 jctFR4kL0o/MgOgGIrz6A4ArttG2iWxyPx4kNx5ADuwybgi2yoq2+34UOj9qhdT+U1/KCfsR/ Y5JzDIac3edHX9GYE+gmFFWwxEgC0cF8d4An5hphAb928XVC2f9JhatV/XUThlm9MgZd4ZXo6 bZx30u6rcDZ1HuM84zpA5N2Qd+SBupF1synHXQ74U4gljB5to+EKskhavH6SqqPo1X/2KRlU1 qTwwKTCSAxqWdY+TeJ4C6Z0Ouo9hQ4jXU+RM9Q5LuAQW/AY7LxgBLWditeILluJl9KQGUvdCu ZX88+6bqnurLIyaZ2Tm6Mge/f6cakHIo3KRXTUyUJB3ygpBBvkJs7yQv3BqEFC6ZgMevz8Qwl u/X8MlUZS6O8Vv+/6q8YuXWmDWTPO0f7q+IKISVhhLVa2LAS71Ji4yaZiENavPnN2vOqzLop4 eeauBnnwgOVcxDNYJSaW3NmukyJ2b1uhOPez8HMJAKvnYNJX9G0R14M8rGQmPUdnpoTA1IYmO yQQmqC0n8JLkAmt7xcrSDNmgQrP30sFLnTcJacma1z8YLFYdTNYAetwxR9bdqkqVZQdvJQZy/ H6+FbZYss9yBoSxnH+QCpRvO7wCYC3uUyn4HG+Uu2Z8oeCzs/8PYxIA2qdymZ0j4h+TNAS+iM J8XfCbdEzicPLjQw2L3y2zDA7JFHuD4oXt/GxgJAzp2m2NfP5G7TdoPIzKaaYhQhSohOzcTQa pwP3ygWU+qSTpeBPyql2PopA2AF0ICmiFW/3jHJijdrlKWjnIHijOboIXTjWdxBpczZBg= Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=212.227.17.20; envelope-from=craven@gmx.net; helo=mout.gmx.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.1 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) Hello ;) It seems that Emacs' `json-parse-buffer' cannot correctly parse strings that contain an escaped ascii 0 value. To reproduce: - Create a new buffer, insert into it: { "foo": "this is a string including a literal \u0000" } - Move point to the beginning of the buffer [ M-< ] - Execute `json-parse-buffer' [ M-: (json-parse-buffer) ] - See the error message. According to all other systems I've tried, \u0000 is valid in json strings. The error message seems to imply that something (probably libjanson?) should be compiled with -DJSON_ALLOW_NUL. As this seems to be non-conformant behaviour, is there a way to change this in the default Emacs build? Thanks, Greetings, Peter In GNU Emacs 27.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.27, cai= ro version 1.17.4) of 2021-03-26 built on juergen Windowing system distributor 'The X.Org Foundation', version 11.0.12011000 System Description: Arch Linux Recent messages: Configured using: 'configure --prefix=3D/usr --sysconfdir=3D/etc --libexecdir=3D/usr/lib --localstatedir=3D/var --with-x-toolkit=3Dgtk3 --with-xft --with-wide-int --with-modules --with-cairo --with-harfbuzz 'CFLAGS=3D-march=3Dx86-64 -mtune=3Dgeneric -O2 -pipe -fno-plt' CPPFLAGS=3D-D_FORTIFY_SOURCE=3D2 LDFLAGS=3D-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now' Configured features: XPM JPEG TIFF GIF PNG RSVG CAIRO SOUND GPM DBUS GSETTINGS GLIB NOTIFY INOTIFY ACL GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT LIBOTF ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS LIBSYSTEMD JSON PDUMPER LCMS2 GMP Important settings: value of $LC_COLLATE: C value of $LC_MESSAGES: value of $LANG: en_GB.UTF-8 locale-coding-system: utf-8-unix Major mode: JSON Memory information: ((conses 16 1891646 539122) (symbols 48 122145 126) (strings 32 464687 51556) (string-bytes 1 14083739) (vectors 16 192214) (vector-slots 8 3676318 291674) (floats 8 1942 24899) (intervals 56 37686 13084) (buffers 1000 91)) From unknown Tue Jun 17 22:17:34 2025 X-Loop: help-debbugs@gnu.org Subject: bug#48274: 27.2; libjanson: \u0000 is not allowed without JSON_ALLOW_NUL Resent-From: Philipp Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 08 May 2021 09:25:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48274 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Peter Cc: 48274@debbugs.gnu.org Received: via spool by 48274-submit@debbugs.gnu.org id=B48274.16204658819135 (code B ref 48274); Sat, 08 May 2021 09:25:01 +0000 Received: (at 48274) by debbugs.gnu.org; 8 May 2021 09:24:41 +0000 Received: from localhost ([127.0.0.1]:49056 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lfJCS-0002NH-PS for submit@debbugs.gnu.org; Sat, 08 May 2021 05:24:40 -0400 Received: from mail-wm1-f41.google.com ([209.85.128.41]:50817) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lfJCQ-0002NB-O4 for 48274@debbugs.gnu.org; Sat, 08 May 2021 05:24:39 -0400 Received: by mail-wm1-f41.google.com with SMTP id n84so6508504wma.0 for <48274@debbugs.gnu.org>; Sat, 08 May 2021 02:24:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=+dU2f562+49X0dthPse9Mxhzxx6ERUpgLwXBbLnPrtk=; b=uxF1G7id6IWcPvEQnRq9UjYGgXUl35vwXfoWMu+iRRSPbGpevqqDU54ja4YV97BBW9 EKnxS2ocsaS7EKD06AJkquoBL2ANij7lzyjDeA6hM9lehrr+C2DGueos9f9XVrO34xjb 9xF5mZdLdIB4ycg/R7OG/7HSsgw2Hh/EO2ep74nxVKMvcHNuDa/iFP9+xTid/w7xhxNo c4pwB3PHwmynOfEhhvA0xxykOCrUnq9qsCA48hrp4/3zvMlgW2l4QsUXS7JcegTVKCU2 Qkw17h5gUZIXLtbqZ4oOob70VviwocNxQ+1kr3WmXKOIfqLUdDPp6VLdki/el+JsyfPq jHWA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=+dU2f562+49X0dthPse9Mxhzxx6ERUpgLwXBbLnPrtk=; b=OElrsbvfXjdPK+vvsYpbu/wKbuMYc5sO4EKlvXgfuxGn6H6lMqPzBa/fFczohNHKYi nPf7vsuT2d2Xl7U1mcFXfZEjrqT9rnB1kTxJCEWEtp4DGUay8oIyXPav2VwOunqUAwLA a6xqSp2caN0Gh13jnxAQldkBfJxjIkbpcmyQsjCNYE2gbxOCAwCFAcRS1CrinqZNt/Y1 cZwtf1Ti8f3rbt4Ep4M+4BsixKD9Ygf25dG955BBbaL7KdyR/ZoQetUk3++Re4GNmBGN RaYabrzVfDJuLtJaewojizIYD4cB3CgJlNQfmNQcZFEJ1k6PrjujB55qMAu4WQT7leyp xhfQ== X-Gm-Message-State: AOAM530u4dk6B/YGRb/MlzZXz5qQx+DB+Ve1qc13tZe2nhgtlZHrv1IW j5afOL2xR4O/A8cqty7XfCc= X-Google-Smtp-Source: ABdhPJyzKcC5c7SNqAAHqBWR7PRLZVBcGEgLWCeKT2p2J8HMjFqPLfNwNaqp5pj48zXMgjjj+a3cFw== X-Received: by 2002:a1c:a483:: with SMTP id n125mr11175219wme.159.1620465872949; Sat, 08 May 2021 02:24:32 -0700 (PDT) Received: from smtpclient.apple (p57aafc92.dip0.t-ipconnect.de. [87.170.252.146]) by smtp.gmail.com with ESMTPSA id e8sm12215363wrt.30.2021.05.08.02.24.32 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sat, 08 May 2021 02:24:32 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.80.0.2.43\)) From: Philipp In-Reply-To: <87r1ijhv2u.fsf@nexoid.at> Date: Sat, 8 May 2021 11:24:31 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <5C06F5D0-AED3-4C34-BC5A-9FA7A9D6C658@gmail.com> References: <87r1ijhv2u.fsf@nexoid.at> X-Mailer: Apple Mail (2.3654.80.0.2.43) X-Spam-Score: 0.2 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.8 (/) > Am 07.05.2021 um 09:16 schrieb Peter : >=20 > Hello ;) >=20 > It seems that Emacs' `json-parse-buffer' cannot correctly parse = strings > that contain an escaped ascii 0 value. >=20 > To reproduce: >=20 > - Create a new buffer, insert into it: > { "foo": "this is a string including a literal \u0000" } > - Move point to the beginning of the buffer [ M-< ] > - Execute `json-parse-buffer' [ M-: (json-parse-buffer) ] > - See the error message. >=20 > According to all other systems I've tried, \u0000 is valid in json > strings. >=20 > The error message seems to imply that something (probably libjanson?) > should be compiled with -DJSON_ALLOW_NUL. >=20 > As this seems to be non-conformant behaviour, is there a way to change > this in the default Emacs build? We use the default behavior of Jansson here, see the remark about = JSON_ALLOW_NUL in = https://jansson.readthedocs.io/en/2.13/apiref.html#decoding. I wouldn't mind allowing escaped NUL characters though; Emacs should be = able to handle them just fine. Also see the FIXME in the unit test `json-parse-string/null' in = tests/src/json-tests.el.= From unknown Tue Jun 17 22:17:34 2025 X-Loop: help-debbugs@gnu.org Subject: bug#48274: 27.2; libjanson: \u0000 is not allowed without JSON_ALLOW_NUL Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 11 May 2021 13:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48274 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Philipp Cc: 48274@debbugs.gnu.org, Peter Received: via spool by 48274-submit@debbugs.gnu.org id=B48274.1620739923442 (code B ref 48274); Tue, 11 May 2021 13:33:02 +0000 Received: (at 48274) by debbugs.gnu.org; 11 May 2021 13:32:03 +0000 Received: from localhost ([127.0.0.1]:35402 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lgSUV-00006s-0G for submit@debbugs.gnu.org; Tue, 11 May 2021 09:32:03 -0400 Received: from quimby.gnus.org ([95.216.78.240]:46832) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lgSUS-0008SJ-Hx for 48274@debbugs.gnu.org; Tue, 11 May 2021 09:32:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=hnhSZwIjO0MHU5GxFDGr9zOeMnTv6vpVMvYkZSXdO2I=; b=d+lPRZCTp/PqpAThEvwJ2i3Ac/ J1A4/jb87VKnnWM/z4CKsUcNbBC75GDXrS3oaEp/j9wSGpsS/PXlKA8yAc8eDYdNiaLQQfoehVYnv /gd2KPlZzGphYHQETCAiamaj5eh43SZj3Ej/iMG3EW9keAkGTOl4wO8j2eWSDDl66Srw=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lgSUK-0005Sz-AX; Tue, 11 May 2021 15:31:54 +0200 From: Lars Ingebrigtsen References: <87r1ijhv2u.fsf@nexoid.at> <5C06F5D0-AED3-4C34-BC5A-9FA7A9D6C658@gmail.com> X-Now-Playing: Coil's _Love's Secret Domain (2)_: "Teenage lightning (various) " Date: Tue, 11 May 2021 15:31:51 +0200 In-Reply-To: <5C06F5D0-AED3-4C34-BC5A-9FA7A9D6C658@gmail.com> (Philipp's message of "Sat, 8 May 2021 11:24:31 +0200") Message-ID: <878s4lo0qg.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Philipp writes: > We use the default behavior of Jansson here, see the remark about > JSON_ALLOW_NUL in > https://jansson.readthedocs.io/en/2.13/apiref.html#decoding. > I wouldn't mind allowing escaped NUL characters [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Philipp writes: > We use the default behavior of Jansson here, see the remark about > JSON_ALLOW_NUL in > https://jansson.readthedocs.io/en/2.13/apiref.html#decoding. > I wouldn't mind allowing escaped NUL characters though; Emacs should > be able to handle them just fine. I think it would make sense to allow nul characters here, too. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From unknown Tue Jun 17 22:17:34 2025 X-Loop: help-debbugs@gnu.org Subject: bug#48274: 27.2; libjanson: \u0000 is not allowed without JSON_ALLOW_NUL Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 02 Jul 2022 13:07:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48274 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Philipp Cc: 48274@debbugs.gnu.org, Peter Received: via spool by 48274-submit@debbugs.gnu.org id=B48274.165676721316016 (code B ref 48274); Sat, 02 Jul 2022 13:07:01 +0000 Received: (at 48274) by debbugs.gnu.org; 2 Jul 2022 13:06:53 +0000 Received: from localhost ([127.0.0.1]:40184 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o7cpp-0004AB-11 for submit@debbugs.gnu.org; Sat, 02 Jul 2022 09:06:53 -0400 Received: from quimby.gnus.org ([95.216.78.240]:38746) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o7cpk-00049m-H9 for 48274@debbugs.gnu.org; Sat, 02 Jul 2022 09:06:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=FTanDphgtuZSh+LpFWqMqRAAnlQ1jOTFIq+SoF/8+Bs=; b=B8th2p0K26E8axz2ISVF50J/3G c4lC00fyJl2sS68tYImueHsh1vW/zN8aygIf1pQ3g9xkpqlw/tt6f1SWXY+lBVCvMZzmiEwu4KRCF DkwElbc7c+yYOFDDknep4SAxmeqvohrCxHiuDNxLQLrV50Gptr14i1NjA/JgAPkO320Q=; Received: from [84.212.220.105] (helo=joga) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o7cpa-0002L5-OU; Sat, 02 Jul 2022 15:06:41 +0200 From: Lars Ingebrigtsen In-Reply-To: <5C06F5D0-AED3-4C34-BC5A-9FA7A9D6C658@gmail.com> (Philipp's message of "Sat, 8 May 2021 11:24:31 +0200") References: <87r1ijhv2u.fsf@nexoid.at> <5C06F5D0-AED3-4C34-BC5A-9FA7A9D6C658@gmail.com> X-Now-Playing: The Clash's _Sandinista!_: "The Sound of Sinners" Date: Sat, 02 Jul 2022 15:06:38 +0200 Message-ID: <878rpb1x5t.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Philipp writes: > We use the default behavior of Jansson here, see the remark about > JSON_ALLOW_NUL in > https://jansson.readthedocs.io/en/2.13/apiref.html#decoding. > I wouldn't mind allowing escaped NUL characters [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Philipp writes: > We use the default behavior of Jansson here, see the remark about > JSON_ALLOW_NUL in > https://jansson.readthedocs.io/en/2.13/apiref.html#decoding. > I wouldn't mind allowing escaped NUL characters though; Emacs should > be able to handle them just fine. > Also see the FIXME in the unit test `json-parse-string/null' in > tests/src/json-tests.el. So I've now made this change in Emacs 29. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 02 09:06:53 2022 Received: (at control) by debbugs.gnu.org; 2 Jul 2022 13:06:53 +0000 Received: from localhost ([127.0.0.1]:40182 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o7cpo-0004A9-Sa for submit@debbugs.gnu.org; Sat, 02 Jul 2022 09:06:52 -0400 Received: from quimby.gnus.org ([95.216.78.240]:38762) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o7cpn-00049r-Ls for control@debbugs.gnu.org; Sat, 02 Jul 2022 09:06:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=xBLj/btMJcG/jqYK8iiLk673chz+pNm3l1kYPMctsA0=; b=pWH4YeZ5vnbgvZF4GerrRxYKxq W+NdswVsA3A7vImKsWqm9uKViYd41yQ8724Ox4wQzYW56EH/Bqo4wiUxA3bMCLw3AYMHZWZQ7rrN7 H0ODijyxrTQ1vcZ4A4QNge1/xL/Ui3p0pN5riyGrZBtmyidPWbFs6GgDfmARPqBIG76c=; Received: from [84.212.220.105] (helo=joga) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o7cpf-0002LE-TW for control@debbugs.gnu.org; Sat, 02 Jul 2022 15:06:46 +0200 Date: Sat, 02 Jul 2022 15:06:43 +0200 Message-Id: <877d4v1x5o.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #48274 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: close 48274 29.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) close 48274 29.1 quit