GNU bug report logs - #53281
29.0.50; wishlist: eww should handle Referrer better

Previous Next

Package: emacs;

Reported by: Lars Ingebrigtsen <larsi <at> gnus.org>

Date: Sat, 15 Jan 2022 11:07:01 UTC

Severity: wishlist

Tags: notabug

Found in version 29.0.50

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 53281 in the body.
You can then email your comments to 53281 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#53281; Package emacs. (Sat, 15 Jan 2022 11:07:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Lars Ingebrigtsen <larsi <at> gnus.org>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sat, 15 Jan 2022 11:07:02 GMT) Full text and rfc822 format available.

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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: bug-gnu-emacs <at> gnu.org
Subject: 29.0.50; wishlist: eww should handle Referrer better
Date: Sat, 15 Jan 2022 12:06:03 +0100
Currently eww handles Referrer inconsistently, I think?  (I haven't
actually looked at the code.)  I think it does send over Referrer when
doing normal clicks, but it doesn't do that when fetching images.

By default, eww should send over referrer on all requests -- if they
are "same site" requests.  (Some sites refuse to work if they don't get
the expected referrer.)  But eww should not (by default) do Referrer
when doing cross-site requests (for privacy reasons).

And there should be a way to customise this behaviour -- for instance,
to always send Referrer.


In GNU Emacs 29.0.50 (build 66, x86_64-pc-linux-gnu, GTK+ Version 3.24.31, cairo version 1.16.0)
 of 2022-01-15 built on xo
Repository revision: 7651f044e26d5139d7140e0c4fd052893ef422d7
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12013000
System Description: Debian GNU/Linux bookworm/sid


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





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#53281; Package emacs. (Fri, 21 Jan 2022 13:30:02 GMT) Full text and rfc822 format available.

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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: 53281 <at> debbugs.gnu.org
Subject: Re: bug#53281: 29.0.50; wishlist: eww should handle Referrer better
Date: Fri, 21 Jan 2022 14:28:58 +0100
Lars Ingebrigtsen <larsi <at> gnus.org> writes:

> Currently eww handles Referrer inconsistently, I think?  (I haven't
> actually looked at the code.)  I think it does send over Referrer when
> doing normal clicks, but it doesn't do that when fetching images.

No, it seems to do everything properly here (except when hitting `g' in
the eww buffer -- it sends over a referer then too, but I don't really
think we care).

It punts all this to url-lastloc-privacy-level, which allows the user to
customise all this, so there's nothing to do here, and I'm closing this
bug report.

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




Added tag(s) notabug. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Fri, 21 Jan 2022 13:30:03 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 53281 <at> debbugs.gnu.org and Lars Ingebrigtsen <larsi <at> gnus.org> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Fri, 21 Jan 2022 13:30:04 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#53281; Package emacs. (Sun, 23 Jan 2022 04:29:02 GMT) Full text and rfc822 format available.

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

From: Richard Stallman <rms <at> gnu.org>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 53281 <at> debbugs.gnu.org
Subject: Re: bug#53281: 29.0.50; wishlist: eww should handle Referrer better
Date: Sat, 22 Jan 2022 23:28:21 -0500
[[[ To any NSA and FBI agents reading my email: please consider    ]]]
[[[ whether defending the US Constitution against all enemies,     ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]

Browsers are "supposed to" provide the referrer field "correctly", but
that's not a good thing to do.  The effect is to give web sites
avoidable information about users' browsinge habits.  Thus, it is
better to do what Icecat does.

I think that Icecat gives a "correct" referrer field when you navigate
between pages in the same site, but gives a fake value when navigating
between sites.  I think the fake value may be the same site that you've
navigated to.

I think EWW should do what Icecat does.


-- 
Dr Richard Stallman (https://stallman.org)
Chief GNUisance of the GNU Project (https://gnu.org)
Founder, Free Software Foundation (https://fsf.org)
Internet Hall-of-Famer (https://internethalloffame.org)






Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#53281; Package emacs. (Sun, 23 Jan 2022 12:25:02 GMT) Full text and rfc822 format available.

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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Richard Stallman <rms <at> gnu.org>
Cc: 53281 <at> debbugs.gnu.org
Subject: Re: bug#53281: 29.0.50; wishlist: eww should handle Referrer better
Date: Sun, 23 Jan 2022 13:24:48 +0100
Richard Stallman <rms <at> gnu.org> writes:

> I think EWW should do what Icecat does.

It does.

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




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 21 Feb 2022 12:24:14 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 58 days ago.

Previous Next


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