From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#23750: 25.0.95; bug in url-retrieve or json.el Date: Sun, 19 Jun 2016 21:14:55 +0300 Message-ID: References: <358304f6-98e1-fa10-8805-aa9b73db406a@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1466360188 25606 80.91.229.3 (19 Jun 2016 18:16:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 19 Jun 2016 18:16:28 +0000 (UTC) Cc: 23750@debbugs.gnu.org, Leo Liu To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jun 19 20:16:17 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1bEhGa-0007Yv-Sa for geb-bug-gnu-emacs@m.gmane.org; Sun, 19 Jun 2016 20:16:17 +0200 Original-Received: from localhost ([::1]:39646 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bEhGZ-0000aQ-EL for geb-bug-gnu-emacs@m.gmane.org; Sun, 19 Jun 2016 14:16:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42355) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bEhGQ-0000a9-S2 for bug-gnu-emacs@gnu.org; Sun, 19 Jun 2016 14:16:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bEhGM-0004wE-Q6 for bug-gnu-emacs@gnu.org; Sun, 19 Jun 2016 14:16:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:34291) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bEhGM-0004vY-MI for bug-gnu-emacs@gnu.org; Sun, 19 Jun 2016 14:16:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bEhGM-0008GB-B2 for bug-gnu-emacs@gnu.org; Sun, 19 Jun 2016 14:16:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 19 Jun 2016 18:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23750 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 23750-submit@debbugs.gnu.org id=B23750.146636011031682 (code B ref 23750); Sun, 19 Jun 2016 18:16:02 +0000 Original-Received: (at 23750) by debbugs.gnu.org; 19 Jun 2016 18:15:10 +0000 Original-Received: from localhost ([127.0.0.1]:46628 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bEhFW-0008Ew-E0 for submit@debbugs.gnu.org; Sun, 19 Jun 2016 14:15:10 -0400 Original-Received: from mail-wm0-f53.google.com ([74.125.82.53]:35470) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bEhFU-0008Ej-Q6 for 23750@debbugs.gnu.org; Sun, 19 Jun 2016 14:15:09 -0400 Original-Received: by mail-wm0-f53.google.com with SMTP id v199so43992278wmv.0 for <23750@debbugs.gnu.org>; Sun, 19 Jun 2016 11:15:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=AgZE6GYjUhLiA4nxyLcQzotijUK64g9NvJx4pDfPv0M=; b=StD+enWLf38ZsyDhcYNA8zADJNn+lyXEMJbfNUbhh+LGNy63PFVnYnR1Yo8iiaV3QK uEAMu2U3SrFW4Z0u9quLC/2QTsHgWDI5n1uV4lhPE/fVq+Xvv/IFXT/dIpI4Ag5nlZgC 1BMngrIrlqu2C1xXvW+BYGSiiqTBk1cpxsfMEboud67berjJPw1UbTZ0Kax8pwOj0oOM V47KxYy2F5YYri/G3tUYtGFjpPDBWyxKeiZKA82MRuY6wTWyy4RCuGLLZ+iSbc+/f/Lp bILhhSSaFzjB6SqlHEScrNDhq1PZuxpeDuoHI6ahVMcDxbKlUw8LFHL3qYvuSxTVmUPz ZPmA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:subject:to:references:cc:from:message-id :date:user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=AgZE6GYjUhLiA4nxyLcQzotijUK64g9NvJx4pDfPv0M=; b=ObRdbB6ileQDLQA4gbm0+wlCeWOqBMt8WA7/OEiRaJDW9BnINY9u0OpAA61PdSIRFl L96WDMZeT4Hy/UOQcbohrChoBW7y6x0wW1d1wJeXIgdBxT8vETQk77q0dRqKr98NDDtZ sws2tKG+0CxSO9nHPydJ5azvg7TiZMeBa0tGxsiEgmu6sLPLQNniJViX6zcjhzISc94u nQb/DrOJfCqA8/2REkjO08CP7TVtIiC76T0supg2rnwf+m2M9oUARCygFDOQsxLQbIcm 4/h/2jbDYGLfD88DQgrrgsN8NVOY9HvsKMwJQ/uAj7uyFaJJcdt+IneC40YAFR4+nUCB k7WA== X-Gm-Message-State: ALyK8tKW6P05ceAbu1mSWZqxpzSMZBLGERjFKEA5hJZFButhAQ5LhYIhRKnVA3NC7F00zg== X-Received: by 10.194.190.163 with SMTP id gr3mr10840505wjc.148.1466360098264; Sun, 19 Jun 2016 11:14:58 -0700 (PDT) Original-Received: from [192.168.1.2] ([185.105.173.135]) by smtp.googlemail.com with ESMTPSA id d192sm4508887wmd.14.2016.06.19.11.14.56 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 19 Jun 2016 11:14:57 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2 In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:119785 Archived-At: On 06/14/2016 03:30 AM, Stefan Monnier wrote: > Can't remember why I did so. My best guess is that I tried to mimick > some earlier behavior. OK, thanks anyway. I've pushed the patch to master as 2ede29575fa22eb7c265117d7511cff9fe02c606. Eli, could we have it emacs-25 as well? It's not critical, but it should make the life of our users easier to flagging problems with the usage of url-http earlier, in a more appropriate place, with an error, rather than leaving that up to them to deduce why their HTTP server truncates the request body. While the truncation bug itself is quite old, it's been exacerbated in Emacs 25 by my own цщкл to make json.el faster: one side-effect is that it doesn't \u-quote multibyte characters anymore, or at least not all of them. FWIW, I've been running with it applied to emacs-25 for the past week with no problems.