diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2012-02-26 18:27:30 +0200 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2012-02-26 18:27:30 +0200 |
commit | fb53814d3acb7a08cd849ffbbdbe86d8a374590c (patch) | |
tree | 54c9df9b74ecb6e869309399af32c8b03973cee2 /NEWS | |
parent | 8c0c0bfc2d565c70d0af0dcd7f1baa271a638661 (diff) | |
download | mailutils-fb53814d3acb7a08cd849ffbbdbe86d8a374590c.tar.gz mailutils-fb53814d3acb7a08cd849ffbbdbe86d8a374590c.tar.bz2 |
Fix parsing local URLs.
* include/mailutils/url.h (MU_URL_PARSE_LOCAL): New flag.
* libmailutils/tests/url-parse.c (parse_kwtab): New flag
"local".
* libmailutils/tests/url.at: Add new tests
* libmailutils/url/create.c (_mu_url_ctx_parse_host): Skip
parsing host part if MU_URL_PARSE_LOCAL is set.
(_mu_url_create_internal): Initialize rc. If MU_URL_PARSE_SLASH
is set and URL begins with "./" assume it is file.
If either MU_URL_PARSE_SLASH or MU_URL_PARSE_PIPE are given
and the URL is diagnosed as file or pipe, prever the scheme
from hints.
Diffstat (limited to 'NEWS')
0 files changed, 0 insertions, 0 deletions