From ef5e19b9be94b07ac68711255d87a7e5b31a65a4 Mon Sep 17 00:00:00 2001 From: cinap_lenrek Date: Sun, 26 May 2013 03:33:39 +0200 Subject: add leading dot for explicit domain in webcookies, bump redirection limit to 12 in webfs --- sys/src/cmd/webfs/http.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/src/cmd/webfs/http.c') diff --git a/sys/src/cmd/webfs/http.c b/sys/src/cmd/webfs/http.c index ecc2dde83..03029bb6a 100644 --- a/sys/src/cmd/webfs/http.c +++ b/sys/src/cmd/webfs/http.c @@ -506,7 +506,7 @@ http(char *m, Url *u, Key *shdr, Buq *qbody, Buq *qpost) h = nil; pid = 0; needlength = 0; - for(try = 0; try < 6; try++){ + for(try = 0; try < 12; try++){ strcpy(status, "0 No status"); if(u == nil || (strcmp(u->scheme, "http") && strcmp(u->scheme, "https"))){ werrstr("bad url scheme"); -- cgit v1.2.3