From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.bugs Subject: bug#54921: eww/url mishandles IDN over proxy Date: Wed, 13 Apr 2022 23:42:44 +0200 Message-ID: <87bkx44q3v.fsf@igel.home> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23861"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) To: 54921@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Apr 13 23:43:16 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1neklg-00062k-9d for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 13 Apr 2022 23:43:16 +0200 Original-Received: from localhost ([::1]:53318 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nekle-00072C-Rr for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 13 Apr 2022 17:43:14 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44366) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1neklS-00071o-ET for bug-gnu-emacs@gnu.org; Wed, 13 Apr 2022 17:43:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:60310) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1neklS-0001Mw-4j for bug-gnu-emacs@gnu.org; Wed, 13 Apr 2022 17:43:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1neklR-0008Lw-O3 for bug-gnu-emacs@gnu.org; Wed, 13 Apr 2022 17:43:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andreas Schwab Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 13 Apr 2022 21:43:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 54921 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.164988617432093 (code B ref -1); Wed, 13 Apr 2022 21:43:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 13 Apr 2022 21:42:54 +0000 Original-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 Original-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 Original-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 Original-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 Original-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) Original-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 Original-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 Original-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) Original-Received: by igel.home (Postfix, from userid 1000) id 391F42C38D7; Wed, 13 Apr 2022 23:42:44 +0200 (CEST) X-Yow: Not SENSUOUS... only ``FROLICSOME''... and in need of DENTAL WORK... in PAIN!!! 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:229843 Archived-At: 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."