all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@IRO.UMontreal.CA>
To: David Engster <deng@randomsample.de>
Cc: 11981@debbugs.gnu.org, Michael Albinus <michael.albinus@gmx.de>
Subject: bug#11981: 24.1.50; url-http-parse-headers should not disable file name handlers since it breaks auth-source
Date: Mon, 06 Aug 2012 12:01:13 -0400	[thread overview]
Message-ID: <jwva9y8ovwr.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <87d33p9oeh.fsf@engster.org> (David Engster's message of "Sat, 21 Jul 2012 16:31:18 +0200")

> @@ -246,18 +246,24 @@
>    "Return the directory part of FILE, for a URL."
>    (cond
>     ((null file) "")
> -   ((string-match "\\?" file)
> -    (file-name-directory (substring file 0 (match-beginning 0))))
> -   (t (file-name-directory file))))
> +   ((string-match "\\(\\?\\|%3[fF]\\)" file)
> +    (url-file-directory (substring file 0 (match-beginning 0))))

Should %3F really be treated like a ? (i.e. a special char that
delimits two different parts of a URL) rather than like "a normal ?
character encoded so as not to delimit two different parts of a URL"?


        Stefan





  reply	other threads:[~2012-08-06 16:01 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-18 18:38 bug#11981: 24.1.50; url-http-parse-headers should not disable file name handlers since it breaks auth-source David Engster
2012-07-19  6:35 ` Michael Albinus
2012-07-19  8:55   ` Stefan Monnier
2012-07-19 12:51     ` David Engster
2012-07-21 14:31       ` David Engster
2012-08-06 16:01         ` Stefan Monnier [this message]
2012-08-06 17:18           ` Jan Djärv
2012-08-12 14:52             ` David Engster
2012-08-12 17:36               ` Stefan Monnier
2012-08-13 19:23                 ` David Engster
2012-08-14 14:55                   ` Stefan Monnier

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

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

  git send-email \
    --in-reply-to=jwva9y8ovwr.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=11981@debbugs.gnu.org \
    --cc=deng@randomsample.de \
    --cc=michael.albinus@gmx.de \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.