changelog shortlog tags branches changeset file revisions annotate raw help

Mercurial > hg > plan9front / sys/src/cmd/webfs/fs.c

revision 4343: 6d999c39a9f0
parent 4336: e2715ad95a8f
child 5048: e16a172bcae6
     1.1--- a/sys/src/cmd/webfs/fs.c
     1.2+++ b/sys/src/cmd/webfs/fs.c
     1.3@@ -421,6 +421,11 @@ fsopen(Req *r)
     1.4 						u->host = smprint("%H", r);
     1.5 						free(r);
     1.6 					}
     1.7+
     1.8+					/* do not send credentials */
     1.9+					free(u->user); u->user = nil;
    1.10+					free(u->pass); u->pass = nil;
    1.11+
    1.12 					if(r = smprint("%U", u)){
    1.13 						cl->hdr = addkey(cl->hdr, "Referer", r);
    1.14 						free(r);