GNU bug report logs -
#17217
24.4.50; eww/shr and relative links
Previous Next
Reported by: joaotavora <at> gmail.com (João Távora)
Date: Mon, 7 Apr 2014 13:05:03 UTC
Severity: normal
Found in version 24.4.50
Done: joaotavora <at> gmail.com (João Távora)
Bug is archived. No further changes may be made.
Full log
Message #8 received at 17217 <at> debbugs.gnu.org (full text, mbox):
joaotavora <at> gmail.com (João Távora) writes:
> Hi maintainers, Lars,
>
> emacs -Q
> M-x eww RET\
> http://franz.com/support/documentation/current/doc/classes/excl/compiler-inconsistent-name-usage-warning.htm\
> RET
>
> Click on any link in the webpage, *eww* always reports 404, because it
> couldn't follow a relative link with href="../../release-notes.htm". A
This patch seems to fix it,
=== modified file 'lisp/net/shr.el'
*** lisp/net/shr.el 2014-03-05 18:44:58 +0000
--- lisp/net/shr.el 2014-04-07 20:59:33 +0000
***************
*** 610,616 ****
(concat (nth 3 base) url))
(t
;; Totally relative.
! (concat (car base) (cadr base) url))))
(defun shr-ensure-newline ()
(unless (zerop (current-column))
--- 610,616 ----
(concat (nth 3 base) url))
(t
;; Totally relative.
! (concat (car base) (expand-file-name url (cadr base))))))
(defun shr-ensure-newline ()
(unless (zerop (current-column))
This bug report was last modified 10 years and 263 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.