emacs/lisp/url
Alain Schneble 8dea6fe5b5 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.

Backport:

(cherry picked from commit b792ecea17)
2015-12-26 14:53:08 +01:00
..
ChangeLog.1 Rename ChangeLogs for gitlog-to-changelog 2015-04-07 00:00:06 -07:00
url-about.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
url-auth.el Allow http://user:pass@foo/ URLs again 2015-12-25 20:22:02 +01:00
url-cache.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
url-cid.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
url-cookie.el Don't store cookies with empty names 2015-12-25 17:03:53 +01:00
url-dav.el Backslash cleanup in Elisp source files 2015-09-17 16:09:39 -07:00
url-dired.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
url-domsuf.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
url-expand.el Make relative URL parsing and resolution consistent with RFC 3986 (bug#22044) 2015-12-26 14:53:08 +01:00
url-file.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
url-ftp.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
url-future.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
url-gw.el Backslash cleanup in Elisp source files 2015-09-17 16:09:39 -07:00
url-handlers.el Autoload url-insert-buffer-contents 2015-12-25 19:05:21 +01:00
url-history.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
url-http.el Document 'url-user-agent'. 2015-12-26 15:31:32 +02:00
url-imap.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
url-irc.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
url-ldap.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
url-mailto.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
url-methods.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
url-misc.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
url-news.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
url-nfs.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
url-ns.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
url-parse.el Make relative URL parsing and resolution consistent with RFC 3986 (bug#22044) 2015-12-26 14:53:08 +01:00
url-privacy.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
url-proxy.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
url-queue.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
url-tramp.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
url-util.el Fix docstring quoting problems with ‘ '’ 2015-11-17 15:29:35 -08:00
url-vars.el Document 'url-user-agent'. 2015-12-26 15:31:32 +02:00
url.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00