From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#24239: 25.1; Potential regression: Multibyte text in HTTP request Date: Wed, 17 Aug 2016 05:44:10 +0300 Message-ID: <837fbgf72d.fsf@gnu.org> References: <877fbhc109.fsf@cassou.me> <87twel6xl5.fsf@cassou.me> <5c4a3484-735b-10df-8fe9-89323fbe43c3@yandex.ru> <83bn0sg3kp.fsf@gnu.org> <0f709753-d7d8-c2ab-f8c2-19ff87316d60@yandex.ru> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1471401919 11641 195.159.176.226 (17 Aug 2016 02:45:19 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 17 Aug 2016 02:45:19 +0000 (UTC) Cc: damien@cassou.me, 24239@debbugs.gnu.org To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Aug 17 04:45:14 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bZqqw-0002la-5B for geb-bug-gnu-emacs@m.gmane.org; Wed, 17 Aug 2016 04:45:14 +0200 Original-Received: from localhost ([::1]:44895 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bZqqt-0001zT-C0 for geb-bug-gnu-emacs@m.gmane.org; Tue, 16 Aug 2016 22:45:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45178) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bZqqn-0001y2-M1 for bug-gnu-emacs@gnu.org; Tue, 16 Aug 2016 22:45:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bZqqj-00070K-Vt for bug-gnu-emacs@gnu.org; Tue, 16 Aug 2016 22:45:04 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:33679) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bZqqj-00070G-Sx for bug-gnu-emacs@gnu.org; Tue, 16 Aug 2016 22:45:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bZqqj-0005BL-Lf for bug-gnu-emacs@gnu.org; Tue, 16 Aug 2016 22:45:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 17 Aug 2016 02:45:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24239 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 24239-submit@debbugs.gnu.org id=B24239.147140186119862 (code B ref 24239); Wed, 17 Aug 2016 02:45:01 +0000 Original-Received: (at 24239) by debbugs.gnu.org; 17 Aug 2016 02:44:21 +0000 Original-Received: from localhost ([127.0.0.1]:59624 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bZqq5-0005AH-4o for submit@debbugs.gnu.org; Tue, 16 Aug 2016 22:44:21 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:54150) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bZqq2-0005A4-1s for 24239@debbugs.gnu.org; Tue, 16 Aug 2016 22:44:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bZqpu-0006xh-EQ for 24239@debbugs.gnu.org; Tue, 16 Aug 2016 22:44:13 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:33266) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bZqpu-0006xd-Ax; Tue, 16 Aug 2016 22:44:10 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1073 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bZqps-0006N0-Gn; Tue, 16 Aug 2016 22:44:08 -0400 In-reply-to: <0f709753-d7d8-c2ab-f8c2-19ff87316d60@yandex.ru> (message from Dmitry Gutov on Wed, 17 Aug 2016 04:32:24 +0300) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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:122296 Archived-At: > Cc: damien@cassou.me, 24239@debbugs.gnu.org > From: Dmitry Gutov > Date: Wed, 17 Aug 2016 04:32:24 +0300 > > > It's tru we don't > > describe bug-fixes in NEWS, but we do describe incompatible changes. > > So I think it would be good to document this change there. Could you > > suggest some simple description of that? > > Something like "url-request-data is not allowed to be bound to a > multibyte value; if your request body is multibyte (which is the usual > case, by the way), convert it with encode-coding-string". Thanks, I added something like that to NEWS. > Hmm... by the way, we could also mention that json-encode now keeps most > multibyte characters as-is. Which is the reason we had to scramble to > fix this problem with the URL package. If you can add this to NEWS in time for RC2, please do. > > (I don't understand the > > details of the use case well enough to do that myself -- how is the > > value of url-request-data related to the change we made in > > url-http-create-request?) > > The related change is for the previous bug report (23750), and the > commit a98aa02a that added the "Multibyte text in HTTP request" error. Yes, but how is url-request-data related? And are there any other variables that should be mentioned? Thanks.