summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorAlain Schneble <a.s@realize.ch>2015-12-26 00:50:13 +0100
committerLars Ingebrigtsen <larsi@gnus.org>2015-12-26 00:50:13 +0100
commit1dee11d874de5ff3d5634e1629054c4398b27b72 (patch)
treef35e3ec6ee222477678a9705f4422841d07ac82a /lisp/emacs-lisp
parent0697719d7368f232f7c0ba5003387c28908bbfdb (diff)
downloademacs-1dee11d874de5ff3d5634e1629054c4398b27b72.tar.gz
emacs-1dee11d874de5ff3d5634e1629054c4398b27b72.tar.bz2
emacs-1dee11d874de5ff3d5634e1629054c4398b27b72.zip
Make relative URL parsing and resolution consistent with RFC 3986 (bug#22044)
* test/lisp/url/url-parse-tests.el: Add tests covering url-generic-parse-url. * test/lisp/url/url-expand-tests.el: Add tests covering url-expand-file-name. * lisp/url/url-parse.el (url-generic-parse-url): Keep empty fragment information in URL-struct. * lisp/url/url-parse.el (url-path-and-query): Do not artificially turn empty path and query into nil path and query, respectively. * lisp/url/url-expand.el (url-expander-remove-relative-links): Do not turn empty path into an absolute ("/") path. * lisp/url/url-expand.el (url-expand-file-name): Properly resolve fragment-only URIs. Do not just return them unchanged. * lisp/url/url-expand.el (url-default-expander): An empty path in the relative reference URI should not drop the last segment.
Diffstat (limited to 'lisp/emacs-lisp')
0 files changed, 0 insertions, 0 deletions