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

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

bug#17417: 24.3.90; EWW on MS-Windows tries to connect imaginary FTP ser


From: Lars Magne Ingebrigtsen
Subject: bug#17417: 24.3.90; EWW on MS-Windows tries to connect imaginary FTP server when viewing "file://" URLs
Date: Thu, 13 Nov 2014 18:01:33 +0100
User-agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux)

Eli Zaretskii <eliz@gnu.org> writes:

> Then visit the file in Emacs's eww like this:
>
>  emacs -Q
>  M-x eww RET file:///D:/foo/bar/Unicode Standard.html RET
>
> The page is displayed, but Emacs also says
>
>   Opening FTP connection to d...
>
> Also, a buffer named *ftp anonymous@d* pops up showing this:
>
>   Invalid help command foo.
>   open d
>   Unknown host d.

That does sound rather, er, non-optimal.

> This does not happen when visiting the same page via http://.  I suspect
> that the "D:" part of the URL fools eww or some function it calls to
> perceive the URL as an FTP address, or something.

But unfortunately, I have no idea what might be causing this.
eww is supposedly just passing the URL along to `url-retrieve'.

Does

(url-retrieve "file:///D:/foo/bar/Unicode Standard.html" 'ignore)

display the same failure mode?

-- 
(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]