projects
/
project
/
uclient.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
http: add support for relative location on redirect
[project/uclient.git]
/
uclient-http.c
diff --git
a/uclient-http.c
b/uclient-http.c
index f0451cc805b7c65eb70553616198838935ee3570..899f367c616a35a10b37ff73f403063dad0c6b0f 100644
(file)
--- 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;