From 5275d49d8fee2dac09f31c955873ad5aa6734e8d Mon Sep 17 00:00:00 2001 From: cinap_lenrek Date: Sun, 10 May 2015 07:46:53 +0200 Subject: webfs: fix proxy authentication --- sys/src/cmd/webfs/http.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/src/cmd/webfs') diff --git a/sys/src/cmd/webfs/http.c b/sys/src/cmd/webfs/http.c index 96a884c0c..d4d7dc36e 100644 --- a/sys/src/cmd/webfs/http.c +++ b/sys/src/cmd/webfs/http.c @@ -857,7 +857,7 @@ http(char *m, Url *u, Key *shdr, Buq *qbody, Buq *qpost) goto Error; if(x = lookkey(shdr, "Proxy-Authorization")) flushauth(proxy, x); - if(hauthenticate(u, &ru, method, "Proxy-Authenticate", rhdr) < 0) + if(hauthenticate(proxy, proxy, method, "Proxy-Authenticate", rhdr) < 0) goto Error; } case 0: /* No status */ -- cgit v1.2.3