diff options
author | Felix Fietkau <nbd@nbd.name> | 2016-07-05 12:39:01 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2016-07-05 12:39:01 +0200 |
commit | 4fdad31fd199ef97b078f6355463d64ce598e85e (patch) | |
tree | 1e088b075e4ae7472a6bef9a62d48281aa6d3b3c /uclient-http.c | |
parent | 6b89c6ae65d2a1ca34f2d874773f2f6fb4ac59ff (diff) | |
download | uclient-4fdad31fd199ef97b078f6355463d64ce598e85e.tar.gz |
http: add support for relative location on redirect
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'uclient-http.c')
-rw-r--r-- | uclient-http.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/uclient-http.c b/uclient-http.c index f0451cc..899f367 100644 --- a/uclient-http.c +++ b/uclient-http.c @@ -1114,7 +1114,7 @@ int uclient_http_redirect(struct uclient *cl) if (!tb) return false; - url = uclient_get_url(blobmsg_data(tb), url->auth); + url = uclient_get_url_location(url, blobmsg_data(tb)); if (!url) return false; |