summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/text-property-search.el
diff options
context:
space:
mode:
authorDaniele Nicolodi <daniele@grinta.net>2020-07-19 21:16:55 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2020-07-19 21:16:55 +0200
commit5d2a83ea0e79308f85d06553483001b7cb2e3a14 (patch)
treebe18318c697ffbe106507dd9a63764a217b0e54e /lisp/emacs-lisp/text-property-search.el
parentf8f3e77fa83a3a97e5a0de8a7c75092cadf82627 (diff)
downloademacs-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