GNU bug report logs - #26231
25.1; eww-open-file of downloaded html page fails redirect

Previous Next

Package: emacs;

Reported by: Andrea <agiugliano91 <at> gmail.com>

Date: Thu, 23 Mar 2017 23:58:01 UTC

Severity: normal

Found in version 25.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 26231 in the body.
You can then email your comments to 26231 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#26231; Package emacs. (Thu, 23 Mar 2017 23:58:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Andrea <agiugliano91 <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Thu, 23 Mar 2017 23:58:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Andrea <agiugliano91 <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 25.1; eww-open-file of downloaded html page fails redirect
Date: Thu, 23 Mar 2017 23:55:11 +0000
Hello,

thanks a lot for maintaining this fantastic editor: it was my start in
the lisp world and I am really grateful!

I am having fun extending org-feed to download the whole contents of
feeds. To do this I am automatically downloading the relating html page
and opening it with eww-open-file.

It is a couple of times that I get an error with some particular html
pages: they contain an element <noscript> which forces the refresh of
the page.

Strangely, opening this sort of pages with eww-open-file fails the
redirection. For example with the attached html page (saved in the /tmp
directory of a Linux system) I get:

url-file: File does not exist: file:///tmp/’http://blog.getpostman.com/2017/03/14/going-native/?utm_source=All+contacts&ModPagespeed=noscript’

I can fix this by removing the <noscript> element of the html with
"sed", but I thought that you may want to be aware of this strange
behaviour: why does eww try to lookup the redirection reference locally
if it is an http address?

Thanks again for the great Emacs!

All the best,

Andrea

----

In GNU Emacs 25.1.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.24.31)
 of 2017-02-22 built on localhost
Windowing system distributor 'The X.Org Foundation', version 11.0.11804000
Configured using:
 'configure --disable-dependency-tracking
 --prefix=/nix/store/c7q3xa60rw6wvdgvfs737jsvpxc8h771-emacs-25.1
 --with-modules --with-x-toolkit=gtk2 --with-xft'

Configured features:
XPM JPEG TIFF GIF PNG RSVG SOUND DBUS GSETTINGS NOTIFY GNUTLS LIBXML2
FREETYPE XFT ZLIB TOOLKIT_SCROLL_BARS GTK2 X11 MODULES

Important settings:
  value of $LC_MONETARY: en_GB.UTF-8
  value of $LC_NUMERIC: en_GB.UTF-8
  value of $LC_TIME: en_GB.UTF-8
  value of $LANG: en_GB.UTF-8
  value of $XMODIFIERS: @im=ibus
  locale-coding-system: utf-8





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#26231; Package emacs. (Fri, 24 Mar 2017 11:20:01 GMT) Full text and rfc822 format available.

Message #8 received at 26231 <at> debbugs.gnu.org (full text, mbox):

From: Andrea <agiugliano91 <at> gmail.com>
To: 26231 <at> debbugs.gnu.org
Subject: 25.1; eww-open-file of downloaded html page fails redirect
Date: Fri, 24 Mar 2017 00:16:48 +0000
[Message part 1 (text/plain, inline)]
Sorry, forgot to attach the html page.

Andrea
[bla.html (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#26231; Package emacs. (Thu, 12 Apr 2018 23:34:01 GMT) Full text and rfc822 format available.

Message #11 received at 26231 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Andrea <agiugliano91 <at> gmail.com>
Cc: 26231 <at> debbugs.gnu.org
Subject: Re: bug#26231: 25.1;
 eww-open-file of downloaded html page fails redirect
Date: Fri, 13 Apr 2018 01:32:55 +0200
Andrea <agiugliano91 <at> gmail.com> writes:

> Strangely, opening this sort of pages with eww-open-file fails the
> redirection. For example with the attached html page (saved in the /tmp
> directory of a Linux system) I get:
>
> url-file: File does not exist: file:///tmp/’http://blog.getpostman.com/2017/03/14/going-native/?utm_source=All+contacts&ModPagespeed=noscript’

This seems to be fixed in Emacs now -- at least I can't reproduce it
with the attached HTML file.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




bug closed, send any further explanations to 26231 <at> debbugs.gnu.org and Andrea <agiugliano91 <at> gmail.com> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Thu, 12 Apr 2018 23:34:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 11 May 2018 11:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 5 years and 323 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.