]> git.eshelyaron.com Git - emacs.git/commit
Never send user email address in HTTP requests
authorStefan Kangas <stefankangas@gmail.com>
Sun, 17 Dec 2023 08:45:05 +0000 (09:45 +0100)
committerStefan Kangas <stefankangas@gmail.com>
Sun, 17 Dec 2023 09:00:22 +0000 (10:00 +0100)
commit346e5712304e66bb1b52387115b89d1966cf184b
tree90b6b6bd0d9053e66458382cc2913ac6d1a9a65e
parent68565c0e90f0da375123e1283caf13c2309f8c46
Never send user email address in HTTP requests

It used to be possible to customize 'url-privacy-level' so that the
user's email address was sent along in HTTP requests.  Since
'url-privacy-level' is also a blocklist, rather than an allowlist,
this meant that a mere misconfiguration of Emacs risked exposing the
user's email address.  This is a serious privacy risk, and it is thus
better if we remove this dangerous feature altogether.

* lisp/url/url-http.el (url-http-create-request): Never send the
user email address.
* lisp/url/url-vars.el (url-personal-mail-address): Make obsolete.
* lisp/url/url-privacy.el (url-setup-privacy-info): Don't set
above obsolete variable.
* doc/misc/url.texi (Customization):
* lisp/url/url-vars.el (url-privacy-level): Update documentation
to reflect the above changes.
doc/misc/url.texi
etc/NEWS
lisp/url/url-http.el
lisp/url/url-privacy.el
lisp/url/url-vars.el