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#24117: 25.1; url-http-create-request: Multibyte text in HTTP request Date: Mon, 08 Aug 2016 18:33:30 +0300 Message-ID: <83r39zi8c5.fsf@gnu.org> References: <83d1ltq3p6.fsf@gnu.org> <83popsocg8.fsf@gnu.org> <7fb3540a-7b74-68cf-2c63-66474de26640@yandex.ru> <83mvkvmbv2.fsf@gnu.org> <27168f12-32d2-cb38-45c0-27d3339c75aa@yandex.ru> <83twf0lb5s.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1470672409 32022 195.159.176.226 (8 Aug 2016 16:06:49 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 8 Aug 2016 16:06:49 +0000 (UTC) Cc: stakemorii@gmail.com, larsi@gnus.org, 24117@debbugs.gnu.org To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Aug 08 18:06:41 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 1bWn4P-0005at-EJ for geb-bug-gnu-emacs@m.gmane.org; Mon, 08 Aug 2016 18:06:29 +0200 Original-Received: from localhost ([::1]:58355 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bWn4M-0001ej-2r for geb-bug-gnu-emacs@m.gmane.org; Mon, 08 Aug 2016 12:06:26 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51648) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bWma3-0003ZK-Q6 for bug-gnu-emacs@gnu.org; Mon, 08 Aug 2016 11:35:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bWmZx-0005mL-Rp for bug-gnu-emacs@gnu.org; Mon, 08 Aug 2016 11:35:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:34689) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bWmZx-0005mH-Ot for bug-gnu-emacs@gnu.org; Mon, 08 Aug 2016 11:35:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bWmZx-0007Fb-L0 for bug-gnu-emacs@gnu.org; Mon, 08 Aug 2016 11:35: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: Mon, 08 Aug 2016 15:35:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24117 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 24117-submit@debbugs.gnu.org id=B24117.147067044727805 (code B ref 24117); Mon, 08 Aug 2016 15:35:01 +0000 Original-Received: (at 24117) by debbugs.gnu.org; 8 Aug 2016 15:34:07 +0000 Original-Received: from localhost ([127.0.0.1]:60219 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bWmZ1-0007EL-NI for submit@debbugs.gnu.org; Mon, 08 Aug 2016 11:34:07 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:60325) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bWmYx-0007Dq-Id for 24117@debbugs.gnu.org; Mon, 08 Aug 2016 11:34:02 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bWmYn-0005On-KG for 24117@debbugs.gnu.org; Mon, 08 Aug 2016 11:33:54 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:34284) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bWmYn-0005OZ-H8; Mon, 08 Aug 2016 11:33:49 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4664 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bWmYl-0006eB-8W; Mon, 08 Aug 2016 11:33:48 -0400 In-reply-to: (message from Dmitry Gutov on Mon, 8 Aug 2016 04:56:58 +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:121964 Archived-At: > Cc: stakemorii@gmail.com, larsi@gnus.org, 24117@debbugs.gnu.org > From: Dmitry Gutov > Date: Mon, 8 Aug 2016 04:56:58 +0300 > > > (or (not (multibyte-string-p url-http-target-url)) > > (setq url-http-target-url > > (decode-coding-string url-http-target-url 'utf-8))) > > > > in url-http-create-request. Can you try this? > > I'll try it if you insist, but that choice of encoding seems rather > arbitrary. I think we should go with your previous suggestion: make the > URL parsing buffer unibyte. OK, let's go with that. Thanks.