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 18:58:23 +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> <83lh07i6g3.fsf@gnu.org> <83invbi5jh.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 1470675717 4866 195.159.176.226 (8 Aug 2016 17:01:57 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 8 Aug 2016 17:01:57 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) Cc: stakemorii@gmail.com, 24117@debbugs.gnu.org, dgutov@yandex.ru To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Aug 08 19:01:53 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 1bWnvn-000755-Ja for geb-bug-gnu-emacs@m.gmane.org; Mon, 08 Aug 2016 19:01:39 +0200 Original-Received: from localhost ([::1]:58829 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bWnvk-0000Iq-Ff for geb-bug-gnu-emacs@m.gmane.org; Mon, 08 Aug 2016 13:01:36 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42817) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bWnuJ-0007mT-3k for bug-gnu-emacs@gnu.org; Mon, 08 Aug 2016 13:00:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bWnuE-0005of-Rv for bug-gnu-emacs@gnu.org; Mon, 08 Aug 2016 13:00:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:34753) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bWnuE-0005oa-Of for bug-gnu-emacs@gnu.org; Mon, 08 Aug 2016 13:00:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bWnuE-0000nq-Fg for bug-gnu-emacs@gnu.org; Mon, 08 Aug 2016 13:00: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 17:00: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.14706755482994 (code B ref 24117); Mon, 08 Aug 2016 17:00:02 +0000 Original-Received: (at 24117) by debbugs.gnu.org; 8 Aug 2016 16:59:08 +0000 Original-Received: from localhost ([127.0.0.1]:60283 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bWntM-0000mD-Jp for submit@debbugs.gnu.org; Mon, 08 Aug 2016 12:59:08 -0400 Original-Received: from hermes.netfonds.no ([80.91.224.195]:36647) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bWntK-0000ls-Qb for 24117@debbugs.gnu.org; Mon, 08 Aug 2016 12:59:07 -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 1bWntD-0005I4-O9; Mon, 08 Aug 2016 18:59:04 +0200 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEXd1st5cmxZUk+lnpYO CQg7NTMgGxn9+/V9J90pAAACT0lEQVQ4jV2TzW7rIBCFJ2LhbQcr3UNE1lB0+wRc70OFH8DCrC1l kde/Z3DcpneiJM755o8ZQn54/NgW/OOkAluraaQX8CAaaDwFay2Z+EI2tZFykK0jM3p6AcO9FMNn gGyiJzqYGrazeQvnVQDHGGlvYYsP/6e8KV0sWcOBWaIkU/CadWbWAJbFIhB0Fhm+2gnQeBqFqKCt K6iuO4ABBGE4AMCXiuEAdk+HIyMgk2J9ANMrseiljMFoCpb3ZKwFSImSw40RxdKviGhmB8WakVCR eURlqGKimzgyxeEe3hQmuSk+cklbMqbNY0bPKZ60s+4SmTF/mdOxrW1Q2sT4AbC9blA2RUpOGn/t rwOZtQrj/0DIKGG/QL8YEkPUd3eUOd3kYSPf9bB/Ebw+l0GKRxTHDrTvYgerH+T64JxupfDsgwWM ytM9G81uIfYChvsOxCXLGhbqdyEAxPjecuSoSrYlL+RuGOvot6j8e1tlxy6X0hYqJZwRLMO/tpYt h1Lm1iaA7ErfhMNvpNEdJCr7yvpna2s2kqilRk1sFa9VAFzgXycBU6uLK3P6W54eUFolPM8NoKXF tW+rlaAjB1KkddfWuaXasnSlEd24FIkFrSlNC9O6WglNazHW7jFpulkAKdWW/AHHNKVuUyszyRd8 Lp8pSQ55ZWNrou4Cj/RtmPF72kH7UZPNHD+g0DNtqlWeJpw8u4qqe6rUGxNdbm9azvUAvXJaLa4n 14XnVOkn+8TyN+TzdAnXoys4z/kSxfg6fV3Ts6u0jKQg4o0a8yTgH32kFKC6XxR1AAAAAElFTkSu QmCC In-Reply-To: <83invbi5jh.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 08 Aug 2016 19:33:54 +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:121973 Archived-At: Eli Zaretskii writes: >> (And it is perfectly valid for the domain bits of URLs to contain >> non-ASCII characters after the IDNA changeover in the RFCs.) > > They must be unibyte. I have no idea what you mean. If we have an instance, we have to decompose the URL into the domain part (g=C3=B3ogle.com) and the local part (/foo), and then connect to the domain part (after IDNA encoding) and issue "GET /foo". If the decomposition function barfs on the URL, then we can't make the connection. Anyway, I won't have much time to carry on bickering here, so do whatever you want to break the way Emacs handles URLs. --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no