unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Lars Magne Ingebrigtsen <larsi@gnus.org>
Cc: 17417@debbugs.gnu.org
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 19:29:08 +0200	[thread overview]
Message-ID: <831tp7ko0r.fsf@gnu.org> (raw)
In-Reply-To: <m3y4rfdogi.fsf@stories.gnus.org>

> From: Lars Magne Ingebrigtsen <larsi@gnus.org>
> Cc: 17417@debbugs.gnu.org
> Date: Thu, 13 Nov 2014 18:01:33 +0100
> 
> 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?

No.  But then I can no longer reproduce the original problem, either.
So I guess this was fixed indirectly somehow.

Thanks.





      reply	other threads:[~2014-11-13 17:29 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-06  7:55 bug#17417: 24.3.90; EWW on MS-Windows tries to connect imaginary FTP server when viewing "file://" URLs Eli Zaretskii
2014-11-13 17:01 ` Lars Magne Ingebrigtsen
2014-11-13 17:29   ` Eli Zaretskii [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=831tp7ko0r.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=17417@debbugs.gnu.org \
    --cc=larsi@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).