diff options
author | Daniele Nicolodi <daniele@grinta.net> | 2020-07-19 21:16:55 +0200 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2020-07-19 21:16:55 +0200 |
commit | 5d2a83ea0e79308f85d06553483001b7cb2e3a14 (patch) | |
tree | be18318c697ffbe106507dd9a63764a217b0e54e /lisp/emacs-lisp/text-property-search.el | |
parent | f8f3e77fa83a3a97e5a0de8a7c75092cadf82627 (diff) | |
download | emacs-5d2a83ea0e79308f85d06553483001b7cb2e3a14.tar.gz emacs-5d2a83ea0e79308f85d06553483001b7cb2e3a14.tar.bz2 emacs-5d2a83ea0e79308f85d06553483001b7cb2e3a14.zip |
url-http: Fix handling of redirect locations
* lisp/url/url-http.el (url-http-parse-headers): Parse redirect
URIs more like other web browsers (bug#42382).
RFC 7231 the Location header is defined to carry a URI-reference.
According to RFC 3986 it should be percent-encoded and thus should not
contain spaces. However, there are HTTP server implementation (notably
nginx) that do not do that. This makes Emacs url-http.el behave like
most other HTTP client implementatios. Also remove the stripping of
angle bracket quotes as they are not valid according to the RFCs.
Copyright-paperwork-exempt: yes
Diffstat (limited to 'lisp/emacs-lisp/text-property-search.el')
0 files changed, 0 insertions, 0 deletions