diff options
author | James Bursa <james@netsurf-browser.org> | 2004-03-13 20:45:00 +0000 |
---|---|---|
committer | James Bursa <james@netsurf-browser.org> | 2004-03-13 20:45:00 +0000 |
commit | a25c9bb1c38c00aaed91c0d30b27f6ed3a8d42d0 (patch) | |
tree | ffb778bd24fce9de15cdb4c04cc1cab69c99aff5 /content | |
parent | 2dc863a57a72a268b83b8c8c68f39ddf396d7e82 (diff) | |
download | netsurf-a25c9bb1c38c00aaed91c0d30b27f6ed3a8d42d0.tar.gz netsurf-a25c9bb1c38c00aaed91c0d30b27f6ed3a8d42d0.tar.bz2 |
[project @ 2004-03-13 20:45:00 by bursa]
Remove unescaping on redirect.
svn path=/import/netsurf/; revision=617
Diffstat (limited to 'content')
-rw-r--r-- | content/fetch.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/content/fetch.c b/content/fetch.c index 22609a05b..a191a821c 100644 --- a/content/fetch.c +++ b/content/fetch.c @@ -610,7 +610,6 @@ bool fetch_process_headers(struct fetch *f) { long http_code; const char *type; - char *temp; CURLcode code; f->had_headers = true; @@ -621,9 +620,6 @@ bool fetch_process_headers(struct fetch *f) /* handle HTTP redirects (3xx response codes) */ if (300 <= http_code && http_code < 400 && f->location != 0) { - temp = curl_unescape(f->location, strlen(f->location)); - xfree(f->location); - f->location = temp; LOG(("FETCH_REDIRECT, '%s'", f->location)); f->callback(FETCH_REDIRECT, f->p, f->location, 0); return true; |