From debbugs-submit-bounces@debbugs.gnu.org Wed Apr 13 17:42:54 2022 Received: (at submit) by debbugs.gnu.org; 13 Apr 2022 21:42:54 +0000 Received: from localhost ([127.0.0.1]:54207 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1neklJ-0008LZ-Ta for submit@debbugs.gnu.org; Wed, 13 Apr 2022 17:42:54 -0400 Received: from lists.gnu.org ([209.51.188.17]:40842) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1neklI-0008LQ-FA for submit@debbugs.gnu.org; Wed, 13 Apr 2022 17:42:52 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44334) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1neklI-00071Y-8j for bug-gnu-emacs@gnu.org; Wed, 13 Apr 2022 17:42:52 -0400 Received: from mail-out.m-online.net ([212.18.0.9]:40529) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1neklG-0001LK-3S for bug-gnu-emacs@gnu.org; Wed, 13 Apr 2022 17:42:51 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4Kdx0563lzz1r0FS for ; Wed, 13 Apr 2022 23:42:45 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 4Kdx055chvz1qqkB for ; Wed, 13 Apr 2022 23:42:45 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id ZPVnqyF7KQUW for ; Wed, 13 Apr 2022 23:42:44 +0200 (CEST) X-Auth-Info: 0OgQ0AJSHQ5Wepy+H1qVJRGMbchQfpcbIxatxb89WwXCHkFHmwzwE6tGn0pvwEvA Received: from igel.home (ppp-46-244-173-163.dynamic.mnet-online.de [46.244.173.163]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA for ; Wed, 13 Apr 2022 23:42:44 +0200 (CEST) Received: by igel.home (Postfix, from userid 1000) id 391F42C38D7; Wed, 13 Apr 2022 23:42:44 +0200 (CEST) From: Andreas Schwab To: bug-gnu-emacs@gnu.org Subject: eww/url mishandles IDN over proxy X-Yow: Not SENSUOUS... only ``FROLICSOME''... and in need of DENTAL WORK... in PAIN!!! Date: Wed, 13 Apr 2022 23:42:44 +0200 Message-ID: <87bkx44q3v.fsf@igel.home> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=212.18.0.9; envelope-from=whitebox@nefkom.net; helo=mail-out.m-online.net X-Spam_score_int: -23 X-Spam_score: -2.4 X-Spam_bar: -- X-Spam_report: (-2.4 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.1 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.1 (--) I have configured Privoxy as the http/https proxy. When visiting a URL with an IDN address url-retrieve uses the original domain name for the proxy connection, not the IDNA encoded name, causing Privoxy to return a 404 page. I'm not sure if that is a bug in Privoxy or in eww. I could not find any RFC on that topic. (eww "https://www.pimmelgate-süd.de/") returns the Privoxy 404 page, whereas (eww "https://xn--pimmelgate-sd-7ob.de/") returns the actual web page. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different." From debbugs-submit-bounces@debbugs.gnu.org Wed Apr 13 21:21:41 2022 Received: (at 54921) by debbugs.gnu.org; 14 Apr 2022 01:21:41 +0000 Received: from localhost ([127.0.0.1]:54447 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1neoB3-0005rF-Lp for submit@debbugs.gnu.org; Wed, 13 Apr 2022 21:21:41 -0400 Received: from quimby.gnus.org ([95.216.78.240]:35454) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1neoB2-0005r0-HS for 54921@debbugs.gnu.org; Wed, 13 Apr 2022 21:21:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=dtPA6EAEeurkC9ocCXMsZyeRmllsc93mlyUTqWRrGdw=; b=MPCItAZFF3Cb+SOToOTm4qHUNc B8o5cAblWlGDGo8xya54mr6vkXOO3CxTacJUgdQr5NR3/5xPp1qCckkEgHrySLgTY92y/S3WQva6C 87TVb2v7K0JM1ETGTN0SXxHsvkDQKdEMMbRIzvzVdFzHQ+ljCRtTavPWqE3QljK1LWRY=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1neoAu-0003Ar-4A; Thu, 14 Apr 2022 03:21:34 +0200 From: Lars Ingebrigtsen To: Andreas Schwab Subject: Re: bug#54921: eww/url mishandles IDN over proxy References: <87bkx44q3v.fsf@igel.home> Date: Thu, 14 Apr 2022 03:21:31 +0200 In-Reply-To: <87bkx44q3v.fsf@igel.home> (Andreas Schwab's message of "Wed, 13 Apr 2022 23:42:44 +0200") Message-ID: <87czhko3xg.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Andreas Schwab writes: > I have configured Privoxy as the http/https proxy. When visiting a URL > with an IDN address url-retrieve uses the original domain name for the > proxy connection, not the IDNA encoded name, causing [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 54921 Cc: 54921@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Andreas Schwab writes: > I have configured Privoxy as the http/https proxy. When visiting a URL > with an IDN address url-retrieve uses the original domain name for the > proxy connection, not the IDNA encoded name, causing Privoxy to return a > 404 page. I'm not sure if that is a bug in Privoxy or in eww. I could > not find any RFC on that topic. What does your proxy setup in Emacs look like? Is this via url-proxy and socks.el? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 14 03:11:51 2022 Received: (at 54921) by debbugs.gnu.org; 14 Apr 2022 07:11:51 +0000 Received: from localhost ([127.0.0.1]:54891 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1netdv-0002rx-KF for submit@debbugs.gnu.org; Thu, 14 Apr 2022 03:11:51 -0400 Received: from mail-out.m-online.net ([212.18.0.10]:56994) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1netdu-0002ro-3O for 54921@debbugs.gnu.org; Thu, 14 Apr 2022 03:11:50 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4Kf9ch6c50z1s94R; Thu, 14 Apr 2022 09:11:48 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 4Kf9ch4LQ7z1qqkC; Thu, 14 Apr 2022 09:11:48 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id g4Hsc83PiFg7; Thu, 14 Apr 2022 09:11:47 +0200 (CEST) X-Auth-Info: SXQsDyRpvTloYCePDeWX6tIgnufnNBlDuzvhkSGjb3kopdmF5wrhoOvQklEcKM0y Received: from igel.home (ppp-46-244-164-67.dynamic.mnet-online.de [46.244.164.67]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Thu, 14 Apr 2022 09:11:47 +0200 (CEST) Received: by igel.home (Postfix, from userid 1000) id 6D24F2C35D7; Thu, 14 Apr 2022 09:11:47 +0200 (CEST) From: Andreas Schwab To: Lars Ingebrigtsen Subject: Re: bug#54921: eww/url mishandles IDN over proxy References: <87bkx44q3v.fsf@igel.home> <87czhko3xg.fsf@gnus.org> X-Yow: If this was a SWEDISH MOVIE, I'd take off your GO-GO BOOTS!! Date: Thu, 14 Apr 2022 09:11:47 +0200 In-Reply-To: <87czhko3xg.fsf@gnus.org> (Lars Ingebrigtsen's message of "Thu, 14 Apr 2022 03:21:31 +0200") Message-ID: <87bkx4yw98.fsf@igel.home> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.5 (/) X-Debbugs-Envelope-To: 54921 Cc: 54921@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.5 (-) On Apr 14 2022, Lars Ingebrigtsen wrote: > What does your proxy setup in Emacs look like? I have set https_proxy=http://localhost:8118/ in the environment, which is picked up by url to set url-proxy-services. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different." From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 14 09:15:26 2022 Received: (at 54921) by debbugs.gnu.org; 14 Apr 2022 13:15:26 +0000 Received: from localhost ([127.0.0.1]:55599 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nezJm-0002kk-C4 for submit@debbugs.gnu.org; Thu, 14 Apr 2022 09:15:26 -0400 Received: from quimby.gnus.org ([95.216.78.240]:40282) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nezJl-0002kY-Cf for 54921@debbugs.gnu.org; Thu, 14 Apr 2022 09:15:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=4h1UMRtVUUS/6chBQSi8NiXvsozPYierZmzaFOmuS7Q=; b=Gf8tam4xexThrBOboT/rcuubEh H9N3HAhfJxEnQMllra3zHSkd9XvgzRNpnlxVunNB6D862ugyYOmrp7irjo/rja4jnsE/PjpNrA8Nn wfJpk/XPKkEMRWcyZ8mf2hX2DgY4KVsVF0SgElWo/YaZryLJS/RLC1kXF/Yur/AL/cR0=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nezJc-0001fv-Jn; Thu, 14 Apr 2022 15:15:18 +0200 From: Lars Ingebrigtsen To: Andreas Schwab Subject: Re: bug#54921: eww/url mishandles IDN over proxy References: <87bkx44q3v.fsf@igel.home> <87czhko3xg.fsf@gnus.org> <87bkx4yw98.fsf@igel.home> Date: Thu, 14 Apr 2022 15:15:14 +0200 In-Reply-To: <87bkx4yw98.fsf@igel.home> (Andreas Schwab's message of "Thu, 14 Apr 2022 09:11:47 +0200") Message-ID: <87tuavn6vx.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Andreas Schwab writes: > I have set https_proxy=http://localhost:8118/ in the environment, which > is picked up by url to set url-proxy-services. Hm, right... Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 54921 Cc: 54921@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Andreas Schwab writes: > I have set https_proxy=http://localhost:8118/ in the environment, which > is picked up by url to set url-proxy-services. Hm, right... I'm not at all familiar with this code, so here's a stab in the dark. Does this fix the problem? diff --git a/lisp/url/url-http.el b/lisp/url/url-http.el index daeba17031..22e003d22d 100644 --- a/lisp/url/url-http.el +++ b/lisp/url/url-http.el @@ -1405,10 +1405,12 @@ url-https-proxy-connect (and proxy-auth (concat "Proxy-Authorization: " proxy-auth "\r\n"))) "\r\n") - (url-host url-current-object) + (url-http--encode-string + (puny-encode-domain (url-host url-current-object))) (or (url-port url-current-object) url-https-default-port) - (url-host url-current-object)))) + (url-http--encode-string + (puny-encode-domain (url-host url-current-object)))))) (defun url-https-proxy-after-change-function (_st _nd _length) (let* ((process-buffer (current-buffer)) -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 14 09:53:02 2022 Received: (at 54921) by debbugs.gnu.org; 14 Apr 2022 13:53:02 +0000 Received: from localhost ([127.0.0.1]:55670 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nezuA-0003kd-Bs for submit@debbugs.gnu.org; Thu, 14 Apr 2022 09:53:02 -0400 Received: from mail-out.m-online.net ([212.18.0.10]:46823) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nezu8-0003kH-61 for 54921@debbugs.gnu.org; Thu, 14 Apr 2022 09:53:00 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4KfLWb0CJfz1s949; Thu, 14 Apr 2022 15:52:58 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 4KfLWZ506nz1qqkC; Thu, 14 Apr 2022 15:52:58 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id HHNi31AXdVYh; Thu, 14 Apr 2022 15:52:58 +0200 (CEST) X-Auth-Info: qAFi7dqKymKXCETQC1qdceHMZACkA2U81J4Gw4UuFNjyX27OY/76rjGpUjbZ3PQ0 Received: from igel.home (ppp-46-244-164-67.dynamic.mnet-online.de [46.244.164.67]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Thu, 14 Apr 2022 15:52:57 +0200 (CEST) Received: by igel.home (Postfix, from userid 1000) id 796D22C39A8; Thu, 14 Apr 2022 15:52:57 +0200 (CEST) From: Andreas Schwab To: Lars Ingebrigtsen Subject: Re: bug#54921: eww/url mishandles IDN over proxy References: <87bkx44q3v.fsf@igel.home> <87czhko3xg.fsf@gnus.org> <87bkx4yw98.fsf@igel.home> <87tuavn6vx.fsf@gnus.org> X-Yow: Either CONFESS now or we go to ``PEOPLE'S COURT''!! Date: Thu, 14 Apr 2022 15:52:57 +0200 In-Reply-To: <87tuavn6vx.fsf@gnus.org> (Lars Ingebrigtsen's message of "Thu, 14 Apr 2022 15:15:14 +0200") Message-ID: <877d7rzs92.fsf@igel.home> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.5 (/) X-Debbugs-Envelope-To: 54921 Cc: 54921@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.5 (-) On Apr 14 2022, Lars Ingebrigtsen wrote: > Andreas Schwab writes: > >> I have set https_proxy=http://localhost:8118/ in the environment, which >> is picked up by url to set url-proxy-services. > > Hm, right... > > I'm not at all familiar with this code, so here's a stab in the dark. > Does this fix the problem? > > diff --git a/lisp/url/url-http.el b/lisp/url/url-http.el > index daeba17031..22e003d22d 100644 > --- a/lisp/url/url-http.el > +++ b/lisp/url/url-http.el > @@ -1405,10 +1405,12 @@ url-https-proxy-connect > (and proxy-auth > (concat "Proxy-Authorization: " proxy-auth "\r\n"))) > "\r\n") > - (url-host url-current-object) > + (url-http--encode-string > + (puny-encode-domain (url-host url-current-object))) > (or (url-port url-current-object) > url-https-default-port) > - (url-host url-current-object)))) > + (url-http--encode-string > + (puny-encode-domain (url-host url-current-object)))))) url-http--encode-string shouldn't be needed, since puny encoding is always ASCII. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different." From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 14 09:56:00 2022 Received: (at 54921) by debbugs.gnu.org; 14 Apr 2022 13:56:00 +0000 Received: from localhost ([127.0.0.1]:56818 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nezx2-00047E-4v for submit@debbugs.gnu.org; Thu, 14 Apr 2022 09:56:00 -0400 Received: from quimby.gnus.org ([95.216.78.240]:40770) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nezwy-000476-HX for 54921@debbugs.gnu.org; Thu, 14 Apr 2022 09:55:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=fdOaTSFImmyHDimw2onXbzgJuHr0U3mEzXPci/+i5Lk=; b=eGGUfT3EFOBER7V3MXviXs+HQS KEDQ6pQjH8mLES6od5OncY9oFC9TbbNWrJx+IVDGNVaYF7heRCc97XlrMA0jMSPYqA0vPza165ebn lyUn1YwbF9bq4pw5QM3Z+Dg4XreIHQKbskq7n7VYBdpafmxh7oQ752AlSp/HD+vTFxRM=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nezwq-00029j-28; Thu, 14 Apr 2022 15:55:50 +0200 From: Lars Ingebrigtsen To: Andreas Schwab Subject: Re: bug#54921: eww/url mishandles IDN over proxy References: <87bkx44q3v.fsf@igel.home> <87czhko3xg.fsf@gnus.org> <87bkx4yw98.fsf@igel.home> <87tuavn6vx.fsf@gnus.org> <877d7rzs92.fsf@igel.home> Date: Thu, 14 Apr 2022 15:55:46 +0200 In-Reply-To: <877d7rzs92.fsf@igel.home> (Andreas Schwab's message of "Thu, 14 Apr 2022 15:52:57 +0200") Message-ID: <87wnfrlqfx.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Andreas Schwab writes: > url-http--encode-string shouldn't be needed, since puny encoding is > always ASCII. Just cargo-culting the other calls to punycode in URL. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 54921 Cc: 54921@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Andreas Schwab writes: > url-http--encode-string shouldn't be needed, since puny encoding is > always ASCII. Just cargo-culting the other calls to punycode in URL. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 14 10:14:13 2022 Received: (at 54921) by debbugs.gnu.org; 14 Apr 2022 14:14:13 +0000 Received: from localhost ([127.0.0.1]:56890 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nf0Ee-0006pf-Ue for submit@debbugs.gnu.org; Thu, 14 Apr 2022 10:14:13 -0400 Received: from mail-out.m-online.net ([212.18.0.9]:32931) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nf0Ed-0006pX-Gp for 54921@debbugs.gnu.org; Thu, 14 Apr 2022 10:14:12 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4KfM0232BQz1r1N0; Thu, 14 Apr 2022 16:14:10 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 4KfM021S5qz1qqkC; Thu, 14 Apr 2022 16:14:10 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id m4m-gAeLQ8Gc; Thu, 14 Apr 2022 16:14:09 +0200 (CEST) X-Auth-Info: PAjZhxeaq6qCtpqUlHuybHZ+6eb/1QuQdE6BHQT6MTihyL9M/k0RbdQNA36jSF4G Received: from igel.home (ppp-46-244-164-67.dynamic.mnet-online.de [46.244.164.67]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Thu, 14 Apr 2022 16:14:09 +0200 (CEST) Received: by igel.home (Postfix, from userid 1000) id 2AE1A2C39A8; Thu, 14 Apr 2022 16:14:09 +0200 (CEST) From: Andreas Schwab To: Lars Ingebrigtsen Subject: Re: bug#54921: eww/url mishandles IDN over proxy References: <87bkx44q3v.fsf@igel.home> <87czhko3xg.fsf@gnus.org> <87bkx4yw98.fsf@igel.home> <87tuavn6vx.fsf@gnus.org> <877d7rzs92.fsf@igel.home> <87wnfrlqfx.fsf@gnus.org> X-Yow: Yow! STYROFOAM.. Date: Thu, 14 Apr 2022 16:14:09 +0200 In-Reply-To: <87wnfrlqfx.fsf@gnus.org> (Lars Ingebrigtsen's message of "Thu, 14 Apr 2022 15:55:46 +0200") Message-ID: <8735ifzr9q.fsf@igel.home> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.5 (/) X-Debbugs-Envelope-To: 54921 Cc: 54921@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.5 (-) On Apr 14 2022, Lars Ingebrigtsen wrote: > Andreas Schwab writes: > >> url-http--encode-string shouldn't be needed, since puny encoding is >> always ASCII. > > Just cargo-culting the other calls to punycode in URL. Unlike url-http-create-request, url-https-proxy-connect doesn't have that weird multibyte test, and can handle any ASCII string. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different." From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 14 10:15:57 2022 Received: (at 54921) by debbugs.gnu.org; 14 Apr 2022 14:15:58 +0000 Received: from localhost ([127.0.0.1]:56900 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nf0GL-0007sj-Jn for submit@debbugs.gnu.org; Thu, 14 Apr 2022 10:15:57 -0400 Received: from quimby.gnus.org ([95.216.78.240]:41168) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nf0GK-0007l0-0A for 54921@debbugs.gnu.org; Thu, 14 Apr 2022 10:15:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=4VxjYlrx/0PIKE/KnQGdjF1DTGrHs0OyLlPL0U2AtPI=; b=ejaIaVxpN73qox21KGhoMA2Acc 8JuHip1l/Lu/0FhciRS06PPakgiNDoDHvM6+RGTlk3xa/c/FhxvvZ8nEAjQ2gEneY+fEr7dSGczFV B0kDeBUtzS52cYajAqa9ZBRieHV8wML95lRsZPggcOf3GT95TmxHPjYeYxCJKLRD7a7I=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nf0GA-0002R7-6j; Thu, 14 Apr 2022 16:15:49 +0200 From: Lars Ingebrigtsen To: Andreas Schwab Subject: Re: bug#54921: eww/url mishandles IDN over proxy References: <87bkx44q3v.fsf@igel.home> <87czhko3xg.fsf@gnus.org> <87bkx4yw98.fsf@igel.home> <87tuavn6vx.fsf@gnus.org> <877d7rzs92.fsf@igel.home> <87wnfrlqfx.fsf@gnus.org> <8735ifzr9q.fsf@igel.home> Date: Thu, 14 Apr 2022 16:15:45 +0200 In-Reply-To: <8735ifzr9q.fsf@igel.home> (Andreas Schwab's message of "Thu, 14 Apr 2022 16:14:09 +0200") Message-ID: <874k2vlpim.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Andreas Schwab writes: > Unlike url-http-create-request, url-https-proxy-connect doesn't have > that weird multibyte test, and can handle any ASCII string. OK. But did the patch fix the problem you're seeing? Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 54921 Cc: 54921@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Andreas Schwab writes: > Unlike url-http-create-request, url-https-proxy-connect doesn't have > that weird multibyte test, and can handle any ASCII string. OK. But did the patch fix the problem you're seeing? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 14 11:49:41 2022 Received: (at 54921) by debbugs.gnu.org; 14 Apr 2022 15:49:41 +0000 Received: from localhost ([127.0.0.1]:56998 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nf1j2-00037B-Tv for submit@debbugs.gnu.org; Thu, 14 Apr 2022 11:49:41 -0400 Received: from mail-out.m-online.net ([212.18.0.10]:36401) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nf1j0-000370-LJ for 54921@debbugs.gnu.org; Thu, 14 Apr 2022 11:49:39 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4KfP692yPDz1s75J; Thu, 14 Apr 2022 17:49:37 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 4KfP690bVwz1qqkG; Thu, 14 Apr 2022 17:49:37 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id A5A6OwBJZvdY; Thu, 14 Apr 2022 17:49:36 +0200 (CEST) X-Auth-Info: Y8ky8m6dFNLGbMmmEFi9grO36AgUPRIiH1ENGTXoQhYBolstKKarZDXh8OPoIqP2 Received: from igel.home (ppp-46-244-164-67.dynamic.mnet-online.de [46.244.164.67]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Thu, 14 Apr 2022 17:49:36 +0200 (CEST) Received: by igel.home (Postfix, from userid 1000) id 0ADF42C39A8; Thu, 14 Apr 2022 17:49:36 +0200 (CEST) From: Andreas Schwab To: Lars Ingebrigtsen Subject: Re: bug#54921: eww/url mishandles IDN over proxy References: <87bkx44q3v.fsf@igel.home> <87czhko3xg.fsf@gnus.org> <87bkx4yw98.fsf@igel.home> <87tuavn6vx.fsf@gnus.org> <877d7rzs92.fsf@igel.home> <87wnfrlqfx.fsf@gnus.org> <8735ifzr9q.fsf@igel.home> <874k2vlpim.fsf@gnus.org> X-Yow: Hey, LOOK!! A pair of SIZE 9 CAPRI PANTS!! They probably belong to SAMMY DAVIS, JR.!! Date: Thu, 14 Apr 2022 17:49:35 +0200 In-Reply-To: <874k2vlpim.fsf@gnus.org> (Lars Ingebrigtsen's message of "Thu, 14 Apr 2022 16:15:45 +0200") Message-ID: <87tuavy8a8.fsf@igel.home> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.5 (/) X-Debbugs-Envelope-To: 54921 Cc: 54921@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.5 (-) error in process filter: url-https-proxy-after-change-function: Error: (error Non-ASCII hostname www.pimmelgate-süd.de detected, please use puny-encode-domain) -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different." From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 14 11:54:40 2022 Received: (at 54921) by debbugs.gnu.org; 14 Apr 2022 15:54:40 +0000 Received: from localhost ([127.0.0.1]:57011 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nf1nr-0003FS-Tk for submit@debbugs.gnu.org; Thu, 14 Apr 2022 11:54:40 -0400 Received: from quimby.gnus.org ([95.216.78.240]:42096) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nf1np-0003FA-J5 for 54921@debbugs.gnu.org; Thu, 14 Apr 2022 11:54:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=dAdxUZGDYYCUFqDZeDatGQT1sRxXwUBxZwtwEeqyETU=; b=t2rkGhqDjJLgBpKGRj+8FF8flw R3wBYfP4Op5vNUUDmt85vRIVLK9o5jssUG/quqn11eFiPDeJAXC+UP9iCfnpirY8M9tNdNw9169fL Ok79MykVisTD3h875Uqu7N2F3TqnOQUSpOblk7vYb+Ro+7PTf1JgTRMsFlQaH6gntk+A=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nf1ng-0003ee-Kw; Thu, 14 Apr 2022 17:54:30 +0200 From: Lars Ingebrigtsen To: Andreas Schwab Subject: Re: bug#54921: eww/url mishandles IDN over proxy References: <87bkx44q3v.fsf@igel.home> <87czhko3xg.fsf@gnus.org> <87bkx4yw98.fsf@igel.home> <87tuavn6vx.fsf@gnus.org> <877d7rzs92.fsf@igel.home> <87wnfrlqfx.fsf@gnus.org> <8735ifzr9q.fsf@igel.home> <874k2vlpim.fsf@gnus.org> <87tuavy8a8.fsf@igel.home> Date: Thu, 14 Apr 2022 17:54:28 +0200 In-Reply-To: <87tuavy8a8.fsf@igel.home> (Andreas Schwab's message of "Thu, 14 Apr 2022 17:49:35 +0200") Message-ID: <87mtgnk6dn.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Andreas Schwab writes: > error in process filter: url-https-proxy-after-change-function: Error: > (error Non-ASCII hostname www.pimmelgate-süd.de detected, please use > puny-encode-domain) Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 54921 Cc: 54921@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Andreas Schwab writes: > error in process filter: url-https-proxy-after-change-function: Error: > (error Non-ASCII hostname www.pimmelgate-s=C3=BCd.de detected, please use > puny-encode-domain) Try: diff --git a/lisp/url/url-http.el b/lisp/url/url-http.el index daeba17031..06e7dbf756 100644 --- a/lisp/url/url-http.el +++ b/lisp/url/url-http.el @@ -1405,10 +1405,12 @@ url-https-proxy-connect (and proxy-auth (concat "Proxy-Authorization: " proxy-auth "\r\n"))) "\r\n") - (url-host url-current-object) + (url-http--encode-string + (puny-encode-domain (url-host url-current-object))) (or (url-port url-current-object) url-https-default-port) - (url-host url-current-object)))) + (url-http--encode-string + (puny-encode-domain (url-host url-current-object)))))) =20 (defun url-https-proxy-after-change-function (_st _nd _length) (let* ((process-buffer (current-buffer)) @@ -1430,12 +1432,12 @@ url-https-proxy-after-change-function (condition-case e (let ((tls-connection (gnutls-negotiate :process proc - :hostname (url-host url-current-obj= ect) + :hostname (puny-encode-domain (url-= host url-current-object)) :verify-error nil))) ;; check certificate validity (setq tls-connection (nsm-verify-connection tls-connection - (url-host url-current-objec= t) + (puny-encode-domain (url-ho= st url-current-object)) (url-port url-current-objec= t))) (with-current-buffer process-buffer (erase-buffer)) (set-process-buffer tls-connection process-buffer) --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 14 12:03:44 2022 Received: (at 54921) by debbugs.gnu.org; 14 Apr 2022 16:03:44 +0000 Received: from localhost ([127.0.0.1]:57021 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nf1we-0003WT-C3 for submit@debbugs.gnu.org; Thu, 14 Apr 2022 12:03:44 -0400 Received: from mail-out.m-online.net ([212.18.0.9]:53803) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nf1wb-0003WI-SG for 54921@debbugs.gnu.org; Thu, 14 Apr 2022 12:03:42 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4KfPQN3NjKz1qyJC; Thu, 14 Apr 2022 18:03:40 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 4KfPQN1mhTz1qqkC; Thu, 14 Apr 2022 18:03:40 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id VjgOLBKnLTDj; Thu, 14 Apr 2022 18:03:39 +0200 (CEST) X-Auth-Info: Sbq4S6e1dbJRJLYyGHMZSpQ2JmTlmgLrRkg5pE55p4dbwWQB/a3s+mVIscXOpwSy Received: from igel.home (ppp-46-244-164-67.dynamic.mnet-online.de [46.244.164.67]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Thu, 14 Apr 2022 18:03:39 +0200 (CEST) Received: by igel.home (Postfix, from userid 1000) id B193A2C39A8; Thu, 14 Apr 2022 18:03:38 +0200 (CEST) From: Andreas Schwab To: Lars Ingebrigtsen Subject: Re: bug#54921: eww/url mishandles IDN over proxy References: <87bkx44q3v.fsf@igel.home> <87czhko3xg.fsf@gnus.org> <87bkx4yw98.fsf@igel.home> <87tuavn6vx.fsf@gnus.org> <877d7rzs92.fsf@igel.home> <87wnfrlqfx.fsf@gnus.org> <8735ifzr9q.fsf@igel.home> <874k2vlpim.fsf@gnus.org> <87tuavy8a8.fsf@igel.home> <87mtgnk6dn.fsf@gnus.org> X-Yow: I am deeply CONCERNED and I want something GOOD for BREAKFAST! Date: Thu, 14 Apr 2022 18:03:38 +0200 In-Reply-To: <87mtgnk6dn.fsf@gnus.org> (Lars Ingebrigtsen's message of "Thu, 14 Apr 2022 17:54:28 +0200") Message-ID: <87pmljy7mt.fsf@igel.home> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.5 (/) X-Debbugs-Envelope-To: 54921 Cc: 54921@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.5 (-) That works, but still fails with http://www.pimmelgate-süd.de/. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different." From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 14 12:11:10 2022 Received: (at 54921) by debbugs.gnu.org; 14 Apr 2022 16:11:10 +0000 Received: from localhost ([127.0.0.1]:57041 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nf23q-0003l5-2R for submit@debbugs.gnu.org; Thu, 14 Apr 2022 12:11:10 -0400 Received: from quimby.gnus.org ([95.216.78.240]:42266) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nf23l-0003kT-AE for 54921@debbugs.gnu.org; Thu, 14 Apr 2022 12:11:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=GKN29iAD83YXh8FqEJmTl3xw6dNfVqNu1NnqoTYVpEo=; b=gXGq4l9/2Lrv4vf8KILXQLQQzA p2UZHMcYjT8bEDtSZIcLBuV2U4MoS4Aa3R1KOP18u4iUkH7uMTjZonQuEcb7FJAR9aMTe/NswLpcT rw08fwMLvc9rpI+HwENGEvP6kEQOamOxuUyt9zyqwPKzszV8ZT/2BqF8A1rSSwKvrJO8=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nf23c-0003rl-Ee; Thu, 14 Apr 2022 18:10:58 +0200 From: Lars Ingebrigtsen To: Andreas Schwab Subject: Re: bug#54921: eww/url mishandles IDN over proxy References: <87bkx44q3v.fsf@igel.home> <87czhko3xg.fsf@gnus.org> <87bkx4yw98.fsf@igel.home> <87tuavn6vx.fsf@gnus.org> <877d7rzs92.fsf@igel.home> <87wnfrlqfx.fsf@gnus.org> <8735ifzr9q.fsf@igel.home> <874k2vlpim.fsf@gnus.org> <87tuavy8a8.fsf@igel.home> <87mtgnk6dn.fsf@gnus.org> <87pmljy7mt.fsf@igel.home> Date: Thu, 14 Apr 2022 18:10:54 +0200 In-Reply-To: <87pmljy7mt.fsf@igel.home> (Andreas Schwab's message of "Thu, 14 Apr 2022 18:03:38 +0200") Message-ID: <87h76vk5m9.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Andreas Schwab writes: > That works, but still fails with http://www.pimmelgate-süd.de/. OK, I've pushed the https proxy fix to master, then. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 54921 Cc: 54921@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Andreas Schwab writes: > That works, but still fails with http://www.pimmelgate-s=C3=BCd.de/. OK, I've pushed the https proxy fix to master, then. Where does the plain-HTTP proxy stuff live, then? Hm... It could be here, I guess. Can you try the following patch? diff --git a/lisp/url/url-http.el b/lisp/url/url-http.el index 96a4742956..678ee05ae5 100644 --- a/lisp/url/url-http.el +++ b/lisp/url/url-http.el @@ -195,7 +195,8 @@ url-http-find-free-connection (unwind-protect (let ((proc (url-open-stream host buf (if url-using-proxy - (url-host url-using-proxy) + (puny-encode-domain + (url-host url-using-proxy)) host) (if url-using-proxy (url-port url-using-proxy) --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 14 12:45:12 2022 Received: (at 54921) by debbugs.gnu.org; 14 Apr 2022 16:45:12 +0000 Received: from localhost ([127.0.0.1]:57199 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nf2al-0004nZ-Rc for submit@debbugs.gnu.org; Thu, 14 Apr 2022 12:45:12 -0400 Received: from mail-out.m-online.net ([212.18.0.9]:51750) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nf2aj-0004nM-P6 for 54921@debbugs.gnu.org; Thu, 14 Apr 2022 12:45:10 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4KfQLD3yMdz1qyJC; Thu, 14 Apr 2022 18:45:08 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 4KfQLD3mXzz1qqkC; Thu, 14 Apr 2022 18:45:08 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id FSEGwkHl9nyd; Thu, 14 Apr 2022 18:45:07 +0200 (CEST) X-Auth-Info: D10fjkEzqGKdJ6PYRPTpZxZDoZ+anuOvwSO+qyIOfEsuwZA1VMWLHM09rn3FNG7r Received: from igel.home (ppp-46-244-164-67.dynamic.mnet-online.de [46.244.164.67]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Thu, 14 Apr 2022 18:45:07 +0200 (CEST) Received: by igel.home (Postfix, from userid 1000) id 81E042C39A8; Thu, 14 Apr 2022 18:45:07 +0200 (CEST) From: Andreas Schwab To: Lars Ingebrigtsen Subject: Re: bug#54921: eww/url mishandles IDN over proxy References: <87bkx44q3v.fsf@igel.home> <87czhko3xg.fsf@gnus.org> <87bkx4yw98.fsf@igel.home> <87tuavn6vx.fsf@gnus.org> <877d7rzs92.fsf@igel.home> <87wnfrlqfx.fsf@gnus.org> <8735ifzr9q.fsf@igel.home> <874k2vlpim.fsf@gnus.org> <87tuavy8a8.fsf@igel.home> <87mtgnk6dn.fsf@gnus.org> <87pmljy7mt.fsf@igel.home> <87h76vk5m9.fsf@gnus.org> X-Yow: I will SHAVE and buy JELL-O and bring my MARRIAGE MANUAL!! Date: Thu, 14 Apr 2022 18:45:07 +0200 In-Reply-To: <87h76vk5m9.fsf@gnus.org> (Lars Ingebrigtsen's message of "Thu, 14 Apr 2022 18:10:54 +0200") Message-ID: <87lew7y5po.fsf@igel.home> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.5 (/) X-Debbugs-Envelope-To: 54921 Cc: 54921@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.5 (-) On Apr 14 2022, Lars Ingebrigtsen wrote: > + (puny-encode-domain > + (url-host url-using-proxy)) That's the address of the proxy, not the original URL. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different." From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 14 13:14:13 2022 Received: (at 54921) by debbugs.gnu.org; 14 Apr 2022 17:14:13 +0000 Received: from localhost ([127.0.0.1]:57270 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nf32q-0005gS-QI for submit@debbugs.gnu.org; Thu, 14 Apr 2022 13:14:12 -0400 Received: from quimby.gnus.org ([95.216.78.240]:42784) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nf32p-0005gD-7J for 54921@debbugs.gnu.org; Thu, 14 Apr 2022 13:14:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=sOuTLXNFkA0oc3o1jATrOkz40eCp+xOx1+AA5no61Gc=; b=twb34L1Z2//HjR0Ka+pNlS70+e rXil2il84FoURhYzIeKTflSP246P0/cXCEYeTLcSiewXcQQX0+ZGwj75uvtO9ZOfC2sjqkaGBsAex jD7+/WSyOt9pFy1Ft3C/3NKYASopNw1gv/H4OZHQd/06Ilw8Ype5GqkYwH8cCREX1hLk=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nf32f-0004rQ-ET; Thu, 14 Apr 2022 19:14:04 +0200 From: Lars Ingebrigtsen To: Andreas Schwab Subject: Re: bug#54921: eww/url mishandles IDN over proxy References: <87bkx44q3v.fsf@igel.home> <87czhko3xg.fsf@gnus.org> <87bkx4yw98.fsf@igel.home> <87tuavn6vx.fsf@gnus.org> <877d7rzs92.fsf@igel.home> <87wnfrlqfx.fsf@gnus.org> <8735ifzr9q.fsf@igel.home> <874k2vlpim.fsf@gnus.org> <87tuavy8a8.fsf@igel.home> <87mtgnk6dn.fsf@gnus.org> <87pmljy7mt.fsf@igel.home> <87h76vk5m9.fsf@gnus.org> <87lew7y5po.fsf@igel.home> Date: Thu, 14 Apr 2022 19:14:00 +0200 In-Reply-To: <87lew7y5po.fsf@igel.home> (Andreas Schwab's message of "Thu, 14 Apr 2022 18:45:07 +0200") Message-ID: <874k2vk2p3.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Andreas Schwab writes: >> + (puny-encode-domain >> + (url-host url-using-proxy)) > > That's the address of the proxy, not the original URL. So it is. Then I have no idea where the Host in the http case is coming from. I'd have thought that the proxy would just look at the Host header (which should be puny-encoded), but I don't know much a [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 54921 Cc: 54921@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Andreas Schwab writes: >> + (puny-encode-domain >> + (url-host url-using-proxy)) > > That's the address of the proxy, not the original URL. So it is. Then I have no idea where the Host in the http case is coming from. I'd have thought that the proxy would just look at the Host header (which should be puny-encoded), but I don't know much about http proxying. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 14 13:39:22 2022 Received: (at 54921) by debbugs.gnu.org; 14 Apr 2022 17:39:23 +0000 Received: from localhost ([127.0.0.1]:57292 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nf3RC-0006Ns-OU for submit@debbugs.gnu.org; Thu, 14 Apr 2022 13:39:22 -0400 Received: from mail-out.m-online.net ([212.18.0.9]:48832) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nf3RB-0006Nf-3R for 54921@debbugs.gnu.org; Thu, 14 Apr 2022 13:39:21 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4KfRXl4FDTz1qy4d; Thu, 14 Apr 2022 19:39:19 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 4KfRXl42RCz1qqkB; Thu, 14 Apr 2022 19:39:19 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id JUm2blo281L5; Thu, 14 Apr 2022 19:39:18 +0200 (CEST) X-Auth-Info: E3gWNZiiGoTgJVbQ7Tkdojfn1gwjQmuL4UMDTd4eNc+s6J2IhqlVci+HGJfDXJEL Received: from igel.home (ppp-46-244-164-67.dynamic.mnet-online.de [46.244.164.67]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Thu, 14 Apr 2022 19:39:18 +0200 (CEST) Received: by igel.home (Postfix, from userid 1000) id 630C52C39B0; Thu, 14 Apr 2022 19:39:18 +0200 (CEST) From: Andreas Schwab To: Lars Ingebrigtsen Subject: Re: bug#54921: eww/url mishandles IDN over proxy References: <87bkx44q3v.fsf@igel.home> <87czhko3xg.fsf@gnus.org> <87bkx4yw98.fsf@igel.home> <87tuavn6vx.fsf@gnus.org> <877d7rzs92.fsf@igel.home> <87wnfrlqfx.fsf@gnus.org> <8735ifzr9q.fsf@igel.home> <874k2vlpim.fsf@gnus.org> <87tuavy8a8.fsf@igel.home> <87mtgnk6dn.fsf@gnus.org> <87pmljy7mt.fsf@igel.home> <87h76vk5m9.fsf@gnus.org> <87lew7y5po.fsf@igel.home> <874k2vk2p3.fsf@gnus.org> X-Yow: ..Wait 'til those ITALIAN TEENAGERS get back to their HONDAS & discover them to be FILLED to the BRIM with MAZOLA!! Date: Thu, 14 Apr 2022 19:39:18 +0200 In-Reply-To: <874k2vk2p3.fsf@gnus.org> (Lars Ingebrigtsen's message of "Thu, 14 Apr 2022 19:14:00 +0200") Message-ID: <87h76vy37d.fsf@igel.home> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.5 (/) X-Debbugs-Envelope-To: 54921 Cc: 54921@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.5 (-) On Apr 14 2022, Lars Ingebrigtsen wrote: > So it is. Then I have no idea where the Host in the http case is coming > from. I'd have thought that the proxy would just look at the Host > header (which should be puny-encoded), but I don't know much about http > proxying. The proxy just receives the full URL in the GET request. Something like this, but puny-encode-domain must only be called with the domain name. diff --git a/lisp/url/url-http.el b/lisp/url/url-http.el index daeba17031..c59613da62 100644 --- a/lisp/url/url-http.el +++ b/lisp/url/url-http.el @@ -332,7 +332,8 @@ url-http-create-request (if (and using-proxy ;; Bug#35969. (not (equal "https" (url-type url-http-target-url)))) - (url-recreate-url url-http-target-url) real-fname)) + (puny-encode-domain (url-recreate-url url-http-target-url)) + real-fname)) " HTTP/" url-http-version "\r\n" ;; Version of MIME we speak "MIME-Version: 1.0\r\n" -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different." From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 15 04:35:14 2022 Received: (at 54921) by debbugs.gnu.org; 15 Apr 2022 08:35:14 +0000 Received: from localhost ([127.0.0.1]:58086 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nfHQ9-0007x6-NB for submit@debbugs.gnu.org; Fri, 15 Apr 2022 04:35:13 -0400 Received: from quimby.gnus.org ([95.216.78.240]:49028) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nfHQ7-0007wo-IZ for 54921@debbugs.gnu.org; Fri, 15 Apr 2022 04:35:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=1hrtTwni7wuguVxpDqd4H6PkvxbwVCDZUTT9w2QjoR4=; b=JwDILK1jx4g2QMLw0qLDp0qRN7 UK+gfeVMuoVIu3hmbJt3spYpeFIiiZyEx8tQIEMRzM8kuuWBWLhm9IfEntNaXRqpLR8n/fLnAC4g9 Ug7TqU1mtW3lCgeIrXRYa8G4VWT61QYuiuZf1ojcn6TuMk1ByyFMcfzsPGoB0h+dfwkM=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nfHPy-0008P8-Qd; Fri, 15 Apr 2022 10:35:05 +0200 From: Lars Ingebrigtsen To: Andreas Schwab Subject: Re: bug#54921: eww/url mishandles IDN over proxy References: <87bkx44q3v.fsf@igel.home> <87czhko3xg.fsf@gnus.org> <87bkx4yw98.fsf@igel.home> <87tuavn6vx.fsf@gnus.org> <877d7rzs92.fsf@igel.home> <87wnfrlqfx.fsf@gnus.org> <8735ifzr9q.fsf@igel.home> <874k2vlpim.fsf@gnus.org> <87tuavy8a8.fsf@igel.home> <87mtgnk6dn.fsf@gnus.org> <87pmljy7mt.fsf@igel.home> <87h76vk5m9.fsf@gnus.org> <87lew7y5po.fsf@igel.home> <874k2vk2p3.fsf@gnus.org> <87h76vy37d.fsf@igel.home> Date: Fri, 15 Apr 2022 10:35:02 +0200 In-Reply-To: <87h76vy37d.fsf@igel.home> (Andreas Schwab's message of "Thu, 14 Apr 2022 19:39:18 +0200") Message-ID: <877d7qiw21.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Andreas Schwab writes: > The proxy just receives the full URL in the GET request. Something like > this, but puny-encode-domain must only be called with the domain name. Right. Does the following untested patch work? Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 54921 Cc: 54921@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Andreas Schwab writes: > The proxy just receives the full URL in the GET request. Something like > this, but puny-encode-domain must only be called with the domain name. Right. Does the following untested patch work? diff --git a/lisp/url/url-http.el b/lisp/url/url-http.el index 96a4742956..b5bcd123c7 100644 --- a/lisp/url/url-http.el +++ b/lisp/url/url-http.el @@ -332,7 +332,10 @@ url-http-create-request (if (and using-proxy ;; Bug#35969. (not (equal "https" (url-type url-http-target-url)))) - (url-recreate-url url-http-target-url) real-fname)) + (let ((url (copy-sequence url-http-target-url))) + (setf (url-host url) (puny-encode-domain (url-host url))) + (url-recreate-url url)) + real-fname)) " HTTP/" url-http-version "\r\n" ;; Version of MIME we speak "MIME-Version: 1.0\r\n" -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 15 07:25:45 2022 Received: (at 54921) by debbugs.gnu.org; 15 Apr 2022 11:25:46 +0000 Received: from localhost ([127.0.0.1]:58227 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nfK5B-0000K7-Nt for submit@debbugs.gnu.org; Fri, 15 Apr 2022 07:25:45 -0400 Received: from mail-out.m-online.net ([212.18.0.9]:56700) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nfK59-0000Jw-6y for 54921@debbugs.gnu.org; Fri, 15 Apr 2022 07:25:43 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4KfvC96D8pz1qxll; Fri, 15 Apr 2022 13:25:41 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 4KfvC94jffz1qqkB; Fri, 15 Apr 2022 13:25:41 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id Sq4poGw8adAp; Fri, 15 Apr 2022 13:25:41 +0200 (CEST) X-Auth-Info: rAKvIePWWwDgbOAg1Sh9zxq0LvJXuTrHmj9F03O/vUq7t0baDRu7DnNkw+2bDdiJ Received: from igel.home (ppp-46-244-186-253.dynamic.mnet-online.de [46.244.186.253]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Fri, 15 Apr 2022 13:25:40 +0200 (CEST) Received: by igel.home (Postfix, from userid 1000) id 7C9682C364A; Fri, 15 Apr 2022 13:25:40 +0200 (CEST) From: Andreas Schwab To: Lars Ingebrigtsen Subject: Re: bug#54921: eww/url mishandles IDN over proxy References: <87bkx44q3v.fsf@igel.home> <87czhko3xg.fsf@gnus.org> <87bkx4yw98.fsf@igel.home> <87tuavn6vx.fsf@gnus.org> <877d7rzs92.fsf@igel.home> <87wnfrlqfx.fsf@gnus.org> <8735ifzr9q.fsf@igel.home> <874k2vlpim.fsf@gnus.org> <87tuavy8a8.fsf@igel.home> <87mtgnk6dn.fsf@gnus.org> <87pmljy7mt.fsf@igel.home> <87h76vk5m9.fsf@gnus.org> <87lew7y5po.fsf@igel.home> <874k2vk2p3.fsf@gnus.org> <87h76vy37d.fsf@igel.home> <877d7qiw21.fsf@gnus.org> X-Yow: Three attractive BANK ROBBERS are discussing RELIGIOUS DIFFERENCES and MAKE-UP TECHNIQUE with them!! Date: Fri, 15 Apr 2022 13:25:40 +0200 In-Reply-To: <877d7qiw21.fsf@gnus.org> (Lars Ingebrigtsen's message of "Fri, 15 Apr 2022 10:35:02 +0200") Message-ID: <87tuau4mh7.fsf@igel.home> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.5 (/) X-Debbugs-Envelope-To: 54921 Cc: 54921@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.5 (-) On Apr 15 2022, Lars Ingebrigtsen wrote: > Right. Does the following untested patch work? I think it would be better to expand the url struct to also store the IDNA host name. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different." From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 15 07:38:30 2022 Received: (at 54921) by debbugs.gnu.org; 15 Apr 2022 11:38:30 +0000 Received: from localhost ([127.0.0.1]:58235 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nfKHW-0002qR-26 for submit@debbugs.gnu.org; Fri, 15 Apr 2022 07:38:30 -0400 Received: from quimby.gnus.org ([95.216.78.240]:50686) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nfKHU-0002qD-O5 for 54921@debbugs.gnu.org; Fri, 15 Apr 2022 07:38:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=oU7k14mnwHTRvmHz2RQeYugpJ7oPLAKy0CeTTWMQNsY=; b=VoSVVV6fEJwVVg07OIQZ9wWSTW xQmcJkqnqw+6Kn6FPt6/ExaO6XeC303ih2nVZeETXcgbSIRcqW05Rog8APqwQGX62E0qKTmfDKQQ7 +9T0cr9W2GF1gKL4UR12XIGCN956ijNPdehvRLQdbLs1o4858C+UG9TJPXX9ukTkfyVI=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nfKHK-0001Ls-O3; Fri, 15 Apr 2022 13:38:21 +0200 From: Lars Ingebrigtsen To: Andreas Schwab Subject: Re: bug#54921: eww/url mishandles IDN over proxy References: <87bkx44q3v.fsf@igel.home> <87czhko3xg.fsf@gnus.org> <87bkx4yw98.fsf@igel.home> <87tuavn6vx.fsf@gnus.org> <877d7rzs92.fsf@igel.home> <87wnfrlqfx.fsf@gnus.org> <8735ifzr9q.fsf@igel.home> <874k2vlpim.fsf@gnus.org> <87tuavy8a8.fsf@igel.home> <87mtgnk6dn.fsf@gnus.org> <87pmljy7mt.fsf@igel.home> <87h76vk5m9.fsf@gnus.org> <87lew7y5po.fsf@igel.home> <874k2vk2p3.fsf@gnus.org> <87h76vy37d.fsf@igel.home> <877d7qiw21.fsf@gnus.org> <87tuau4mh7.fsf@igel.home> Date: Fri, 15 Apr 2022 13:38:17 +0200 In-Reply-To: <87tuau4mh7.fsf@igel.home> (Andreas Schwab's message of "Fri, 15 Apr 2022 13:25:40 +0200") Message-ID: <8735ieh906.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Andreas Schwab writes: >> Right. Does the following untested patch work? > > I think it would be better to expand the url struct to also store the > IDNA host name. And then have separate functions to reconstruct the URL with the IDNA or the original domain name, depending on what we want? I don't think that makes that much sense. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 54921 Cc: 54921@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Andreas Schwab writes: >> Right. Does the following untested patch work? > > I think it would be better to expand the url struct to also store the > IDNA host name. And then have separate functions to reconstruct the URL with the IDNA or the original domain name, depending on what we want? I don't think that makes that much sense. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 15 07:46:46 2022 Received: (at 54921) by debbugs.gnu.org; 15 Apr 2022 11:46:46 +0000 Received: from localhost ([127.0.0.1]:58249 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nfKPW-00034Z-FK for submit@debbugs.gnu.org; Fri, 15 Apr 2022 07:46:46 -0400 Received: from mail-out.m-online.net ([212.18.0.10]:46744) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nfKPU-00034Q-5w for 54921@debbugs.gnu.org; Fri, 15 Apr 2022 07:46:45 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4KfvgQ68qwz1s75J; Fri, 15 Apr 2022 13:46:42 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 4KfvgQ3mFxz1qqkB; Fri, 15 Apr 2022 13:46:42 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id XGEobTESBS_s; Fri, 15 Apr 2022 13:46:41 +0200 (CEST) X-Auth-Info: WjLi+kHbw/8iNJsKNyRJiqIW6qSfYHmxd/Fib7YpniW+06Dbp0GJl3MaTEKXirrC Received: from igel.home (ppp-46-244-186-253.dynamic.mnet-online.de [46.244.186.253]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Fri, 15 Apr 2022 13:46:41 +0200 (CEST) Received: by igel.home (Postfix, from userid 1000) id 71F892C3668; Fri, 15 Apr 2022 13:46:41 +0200 (CEST) From: Andreas Schwab To: Lars Ingebrigtsen Subject: Re: bug#54921: eww/url mishandles IDN over proxy References: <87bkx44q3v.fsf@igel.home> <87czhko3xg.fsf@gnus.org> <87bkx4yw98.fsf@igel.home> <87tuavn6vx.fsf@gnus.org> <877d7rzs92.fsf@igel.home> <87wnfrlqfx.fsf@gnus.org> <8735ifzr9q.fsf@igel.home> <874k2vlpim.fsf@gnus.org> <87tuavy8a8.fsf@igel.home> <87mtgnk6dn.fsf@gnus.org> <87pmljy7mt.fsf@igel.home> <87h76vk5m9.fsf@gnus.org> <87lew7y5po.fsf@igel.home> <874k2vk2p3.fsf@gnus.org> <87h76vy37d.fsf@igel.home> <877d7qiw21.fsf@gnus.org> <87tuau4mh7.fsf@igel.home> <8735ieh906.fsf@gnus.org> X-Yow: I'm into SOFTWARE! Date: Fri, 15 Apr 2022 13:46:41 +0200 In-Reply-To: <8735ieh906.fsf@gnus.org> (Lars Ingebrigtsen's message of "Fri, 15 Apr 2022 13:38:17 +0200") Message-ID: <87pmli4li6.fsf@igel.home> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.5 (/) X-Debbugs-Envelope-To: 54921 Cc: 54921@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.5 (-) On Apr 15 2022, Lars Ingebrigtsen wrote: > And then have separate functions to reconstruct the URL with the IDNA or > the original domain name, depending on what we want? I don't think that > makes that much sense. Just add an optional argument. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different." From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 16 11:03:15 2022 Received: (at 54921) by debbugs.gnu.org; 16 Apr 2022 15:03:15 +0000 Received: from localhost ([127.0.0.1]:34061 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nfjxD-0004Mg-Do for submit@debbugs.gnu.org; Sat, 16 Apr 2022 11:03:15 -0400 Received: from quimby.gnus.org ([95.216.78.240]:33760) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nfjxB-0004MO-DF for 54921@debbugs.gnu.org; Sat, 16 Apr 2022 11:03:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=ryBuVE2ipm1A0DfK/HmChArVSCoLHj6Du3BRS+YRAPo=; b=uV4uYJX9TmgNiAQCcsNfrdcWV6 GMN0ehRgH1wZ8Zcj+t6XIp7YYgWVOz62vThg8BmnMTY43UtCLKAzzP2PJltNePwpazy6+UqlCM4iP BsTtE4xQ52EowZ+hw2J0ugsZeM27laDHLzthkNh2pr+DoTz7YqcZ9n2YLft+7h+1NJ0o=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nfjx1-00014K-N6; Sat, 16 Apr 2022 17:03:06 +0200 From: Lars Ingebrigtsen To: Andreas Schwab Subject: Re: bug#54921: eww/url mishandles IDN over proxy References: <87bkx44q3v.fsf@igel.home> <87czhko3xg.fsf@gnus.org> <87bkx4yw98.fsf@igel.home> <87tuavn6vx.fsf@gnus.org> <877d7rzs92.fsf@igel.home> <87wnfrlqfx.fsf@gnus.org> <8735ifzr9q.fsf@igel.home> <874k2vlpim.fsf@gnus.org> <87tuavy8a8.fsf@igel.home> <87mtgnk6dn.fsf@gnus.org> <87pmljy7mt.fsf@igel.home> <87h76vk5m9.fsf@gnus.org> <87lew7y5po.fsf@igel.home> <874k2vk2p3.fsf@gnus.org> <87h76vy37d.fsf@igel.home> <877d7qiw21.fsf@gnus.org> <87tuau4mh7.fsf@igel.home> <8735ieh906.fsf@gnus.org> <87pmli4li6.fsf@igel.home> Date: Sat, 16 Apr 2022 17:03:02 +0200 In-Reply-To: <87pmli4li6.fsf@igel.home> (Andreas Schwab's message of "Fri, 15 Apr 2022 13:46:41 +0200") Message-ID: <87o811cbq1.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Andreas Schwab writes: >> And then have separate functions to reconstruct the URL with the IDNA or >> the original domain name, depending on what we want? I don't think that >> makes that much sense. > > Just add an optiona [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 54921 Cc: 54921@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Andreas Schwab writes: >> And then have separate functions to reconstruct the URL with the IDNA or >> the original domain name, depending on what we want? I don't think that >> makes that much sense. > > Just add an optional argument. I don't think that is much of an improvement -- url-recreate-url is pretty well-defined as it is. So I've pushed the proposed patch, which I assume fixed the problem. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 16 11:03:18 2022 Received: (at control) by debbugs.gnu.org; 16 Apr 2022 15:03:18 +0000 Received: from localhost ([127.0.0.1]:34064 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nfjxG-0004Mx-Ko for submit@debbugs.gnu.org; Sat, 16 Apr 2022 11:03:18 -0400 Received: from quimby.gnus.org ([95.216.78.240]:33774) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nfjxF-0004MV-92 for control@debbugs.gnu.org; Sat, 16 Apr 2022 11:03:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=1JCCus6aFc8N9eqEYn7DhSSacRtb9jfg81D7FAWXH10=; b=MM/5QrDr1AL4PX3bdM1q/cbnq9 8L1KdBElmnMJKWz4JW9K732xP9lr93dH6phS369ba0M12QLva2j4o6xyf1BzEoSPjROs4xLKIURMv ZXQurZAicltjH3jJ1CENgLsAR4z8Brj7pbseiIPLLIXtDvUwmgnp3bWM0M5WbSbAF120=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nfjx7-00014T-Fl for control@debbugs.gnu.org; Sat, 16 Apr 2022 17:03:11 +0200 Date: Sat, 16 Apr 2022 17:03:09 +0200 Message-Id: <87mtglcbpu.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #54921 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: close 54921 29.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) close 54921 29.1 quit From unknown Tue Jun 17 22:28:32 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 15 May 2022 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator