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:52:02 +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 1470674614 14981 195.159.176.226 (8 Aug 2016 16:43:34 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 8 Aug 2016 16:43:34 +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:43:29 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 1bWndm-0000ki-Oy for geb-bug-gnu-emacs@m.gmane.org; Mon, 08 Aug 2016 18:43:02 +0200 Original-Received: from localhost ([::1]:58672 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bWndj-0002mf-MF for geb-bug-gnu-emacs@m.gmane.org; Mon, 08 Aug 2016 12:42:59 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55225) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bWmrS-0004ao-T0 for bug-gnu-emacs@gnu.org; Mon, 08 Aug 2016 11:53:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bWmrO-0008UY-Ok for bug-gnu-emacs@gnu.org; Mon, 08 Aug 2016 11:53:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:34694) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bWmrO-0008UM-Lf for bug-gnu-emacs@gnu.org; Mon, 08 Aug 2016 11:53:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bWmrO-0007gS-FY for bug-gnu-emacs@gnu.org; Mon, 08 Aug 2016 11:53:02 -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:53:02 +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.147067156429514 (code B ref 24117); Mon, 08 Aug 2016 15:53:02 +0000 Original-Received: (at 24117) by debbugs.gnu.org; 8 Aug 2016 15:52:44 +0000 Original-Received: from localhost ([127.0.0.1]:60224 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bWmr6-0007fy-IE for submit@debbugs.gnu.org; Mon, 08 Aug 2016 11:52:44 -0400 Original-Received: from hermes.netfonds.no ([80.91.224.195]:35871) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bWmr4-0007fq-Jm for 24117@debbugs.gnu.org; Mon, 08 Aug 2016 11:52:43 -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 1bWmr0-0004OU-Gw; Mon, 08 Aug 2016 17:52:40 +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:121970 Archived-At: Dmitry Gutov writes: >> Hmm, but url-generic-parse-url is called from gazillion other places, >> so maybe this is not safe. > > Only about 40 places, all of them either in lisp/url or > lisp/gnus. Sadly, Lars is being silent on the matter. It's also called in ffap, eww and newst, according to grep. :-) > The URL package doesn't seem to support international domains > anyway. This fails: > > (url-retrieve-synchronously "http://=D0=B1=D0=B0=D0=BD=D0=BA=D0=B8.=D1=80= =D1=84") I think that's a bug... --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no