unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Ted Zlatanov <tzz@lifelogs.com>
To: emacs-devel@gnu.org
Cc: ding@gnus.org
Subject: Re: URL + efs confusion
Date: Mon, 15 Nov 2010 14:23:54 -0600	[thread overview]
Message-ID: <87bp5qbajp.fsf@lifelogs.com> (raw)
In-Reply-To: m3ipzygxma.fsf@quimbies.gnus.org

On Mon, 15 Nov 2010 21:06:37 +0100 Lars Magne Ingebrigtsen <larsi@gnus.org> wrote: 

LMI> Sometimes people put local URLs into their RSS feeds, like
LMI> <img src="file:/c:/thing/foo">

LMI> This ends up as a url call like this:

LMI> (url-retrieve "file:/c:/thing/foo" #'ignore)

LMI> which ends up prompting me for my ftp password, since c:/thing/foo is
LMI> interpreted as an efs file name.

LMI> This seems not very optimal.  Could there be situations where that URL
LMI> makes sense to interpret that way?  And what about on Windows machines?

LMI> Anybody have any suggestions about on what level this should be fixed?
LMI> Gnus, shr or url?  And how?  :-)

I think the file: prefix should cause anything following to be
interpreted as a local file.  It seems like the URL library is the one
that should open the file literally without any filename handlers.

Ted




  reply	other threads:[~2010-11-15 20:23 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-15 20:06 URL + efs confusion Lars Magne Ingebrigtsen
2010-11-15 20:23 ` Ted Zlatanov [this message]
2010-11-15 22:45   ` Lars Magne Ingebrigtsen
2010-11-16  5:48     ` Stefan Monnier
2010-11-16 13:49       ` Lars Magne Ingebrigtsen
2010-11-16  8:36     ` Michael Albinus
2010-11-16 14:24       ` Ted Zlatanov
2010-11-16 14:33         ` Lars Magne Ingebrigtsen
2010-11-16 14:57           ` Davis Herring
2010-11-16 15:00           ` David Kastrup
2010-11-16 15:04             ` Lars Magne Ingebrigtsen
2010-11-16 15:05         ` Michael Albinus
2010-11-16 15:16           ` Ted Zlatanov
2010-11-16 15:26             ` Michael Albinus

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=87bp5qbajp.fsf@lifelogs.com \
    --to=tzz@lifelogs.com \
    --cc=ding@gnus.org \
    --cc=emacs-devel@gnu.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).