From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#24117: 25.1; url-http-create-request: Multibyte text in HTTP request Date: Mon, 08 Aug 2016 17:54:33 +0200 Message-ID: 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> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1470673619 22505 195.159.176.226 (8 Aug 2016 16:26:59 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 8 Aug 2016 16:26:59 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) Cc: stakemorii@gmail.com, 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:26:48 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 1bWnNp-0002YE-KK for geb-bug-gnu-emacs@m.gmane.org; Mon, 08 Aug 2016 18:26:33 +0200 Original-Received: from localhost ([::1]:58496 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bWnNm-00055A-HU for geb-bug-gnu-emacs@m.gmane.org; Mon, 08 Aug 2016 12:26:30 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55650) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bWmuM-00084q-1b for bug-gnu-emacs@gnu.org; Mon, 08 Aug 2016 11:56:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bWmuH-000161-Sc for bug-gnu-emacs@gnu.org; Mon, 08 Aug 2016 11:56:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:34698) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bWmuH-00015x-On for bug-gnu-emacs@gnu.org; Mon, 08 Aug 2016 11:56:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bWmuH-0007kh-Ib for bug-gnu-emacs@gnu.org; Mon, 08 Aug 2016 11:56:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 08 Aug 2016 15:56: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.147067171429746 (code B ref 24117); Mon, 08 Aug 2016 15:56:01 +0000 Original-Received: (at 24117) by debbugs.gnu.org; 8 Aug 2016 15:55:14 +0000 Original-Received: from localhost ([127.0.0.1]:60228 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bWmtW-0007ji-0J for submit@debbugs.gnu.org; Mon, 08 Aug 2016 11:55:14 -0400 Original-Received: from hermes.netfonds.no ([80.91.224.195]:35908) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bWmtT-0007ja-Uk for 24117@debbugs.gnu.org; Mon, 08 Aug 2016 11:55:12 -0400 Original-Received: from cm-84.215.1.64.getinternet.no ([84.215.1.64] helo=stories) by hermes.netfonds.no with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1bWmtR-0004Rm-DM; Mon, 08 Aug 2016 17:55:11 +0200 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAFVBMVEXi0M2/tbpBHx/p29cL BQZ1TUOUhIGMCRZLAAACS0lEQVQ4jW2UwY7jIAyGQWhzDtOW8w4KOVOh7XmFSO9FMeeSCbz/I6xN 0jaHtSIF+LAB+wcmObOWCYfGmGXMbS3OuMQe9hkT/IkNmmIZz0xRb7PatylEKmNKkGezvP0IZMue XModNIcW60qNDurRJBqjZcSfCAHND+Fld0UbEzdAoLVGoGObMsrmcUsQ/AZgCDOSsRJw1/IGGgYK OLZQzp1bJI0xwNC4N5vHDshB+xCGcC9w9Bg8DYcJP0gfAIgANC4WYDYfD0OAjuIB6gpvgN2oDTEM U1fabgPeQIk6ERhrVSuUdnJ3NugPYGhntea86j3UV8LcQdyBlPMGhFOy1hJDA1lmqXVquXKCIRnC NOOupqxqA47xk7BcVcxE9JQWDzEmgTpQ6GOlWrSPk2418Qg6VEDGWqILUFKW4HEteNiaWRUIrCwl ehNHKm6ER4eCeToCXKVo8BBYb64h2UyiIFlwWRKKIgt7ukZIm4qa9mQtUCALnIGZE/YFbniUNIy8 1Lwg2EQs23Gkgpgg48YnBC3U+UTaO3VwqQjkAdwRdHKGSh5y3YEQa/hx7tcSokok0BdgbA3fCAYP aoSeH8AFTs6q4buCITAfPH5uaal9l0zqmRyOYB6vNd8MAXUEw3TN18LNWJ9HgLmehr+2PsyI6VrC pN8eQRsc+kYVGbwJJpg3+L3ohxrLUoCA/gAsdu6/LiskAq81ON1H2VMe8a/o9Oz/tt37rv+M9AJH LalN9fs7QWbfTwZqh94JsY0LK93L2nNj96cEa/UGWNl/hVHRJmJBMpkAAAAASUVORK5CYII= In-Reply-To: (Dmitry Gutov's message of "Mon, 8 Aug 2016 04:56:58 +0300") 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:121966 Archived-At: Dmitry Gutov writes: > 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. It's be sad if (url-generic-parse-url "http://g=C3=B3ogle.com/f=C3=B3o") stopped working. This function is Emacs' workhorse for chopping up URLs, and it's a very useful function. There's a bunch of hand-rolled URL parsing implementations that don't quite work right. --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no