bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#54921: eww/url mishandles IDN over proxy


From: Lars Ingebrigtsen
Subject: bug#54921: eww/url mishandles IDN over proxy
Date: Thu, 14 Apr 2022 18:10:54 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Andreas Schwab <schwab@linux-m68k.org> writes:

> That works, but still fails with http://www.pimmelgate-süd.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)


-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





reply via email to

[Prev in Thread] Current Thread [Next in Thread]