w3-dev
[Top][All Lists]
Advanced

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

[W3-dev] [bug #21601] Wrong handling of relative links with only query p


From: Magnus Henoch
Subject: [W3-dev] [bug #21601] Wrong handling of relative links with only query part
Date: Sun, 18 Nov 2007 12:04:57 +0000
User-agent: Lynx/2.8.6rel.5 libwww-FM/2.14 SSL-MM/1.4.1 OpenSSL/0.9.8e

Follow-up Comment #1, bug #21601 (project w3):

It seems that the bug resides in url-default-expander in Emacs' URL library:

*** Welcome to IELM ***  Type (describe-mode) for help.
ELISP> (defun test-url-expand ()
         (let ((relative (url-generic-parse-url "?foo"))
               (base (url-generic-parse-url "http://foo/bar/baz.html";)))
           (url-default-expander relative base)
           relative))
test-url-expand
ELISP> (test-url-expand)
[cl-struct-url "http" nil nil "foo" 80 "/bar?foo" nil nil nil]


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?21601>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

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