diff options
author | joerg <joerg@pkgsrc.org> | 2008-04-24 07:55:00 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2008-04-24 07:55:00 +0000 |
commit | bda08cd4028e9af99ce4849b9e90b1c31a7746fa (patch) | |
tree | 050ca03120365a9d7c33147ae52ca484180708fd /net/libfetch/files/http.c | |
parent | f8f9e4deb621a162171b0ea11fe9d79f1d33495b (diff) | |
download | pkgsrc-bda08cd4028e9af99ce4849b9e90b1c31a7746fa.tar.gz |
libfetch-2.4.10:
Start URL quoting cleanup. All URLs are now quoted correctly on parsing
and when appending URLs. URLs without schema and starting with slash are
considered to be file:// URLs.
Diffstat (limited to 'net/libfetch/files/http.c')
-rw-r--r-- | net/libfetch/files/http.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/libfetch/files/http.c b/net/libfetch/files/http.c index d6931184419..1948e6f6f3f 100644 --- a/net/libfetch/files/http.c +++ b/net/libfetch/files/http.c @@ -1,4 +1,4 @@ -/* $NetBSD: http.c,v 1.17 2008/04/21 22:39:15 joerg Exp $ */ +/* $NetBSD: http.c,v 1.18 2008/04/24 07:55:00 joerg Exp $ */ /*- * Copyright (c) 2000-2004 Dag-Erling Coïdan Smørgrav * Copyright (c) 2003 Thomas Klausner <wiz@NetBSD.org> @@ -1308,7 +1308,7 @@ parse_index(struct index_parser *parser, const char *buf, size_t len) return 0; *end_attr = '\0'; parser->state = ST_TAGA; - fetch_add_entry(parser->ue, parser->url, buf); + fetch_add_entry(parser->ue, parser->url, buf, 1); return end_attr + 1 - buf; } abort(); |