]> code.citadel.org Git - citadel.git/blobdiff - webcit/groupdav_main.c
* When the -f option is specified, honor X-Forwarded-Host: in addition
[citadel.git] / webcit / groupdav_main.c
index 46d467ec3a03834db0994374af733aa0107de015..dd3fd74688bcc0ea3413d93a397ba9dcbb44c2f5 100644 (file)
@@ -127,10 +127,15 @@ void groupdav_main(struct httprequest *req,
 
        for (rptr=req; rptr!=NULL; rptr=rptr->next) {
                /* lprintf(9, "< %s\n", rptr->line); */
+
+               /*
+                * We don't appear to need this; it was already done in webcit.c
                if (!strncasecmp(rptr->line, "Host: ", 6)) {
                         safestrncpy(WC->http_host, &rptr->line[6],
                                sizeof WC->http_host);
                 }
+               */
+
                if (!strncasecmp(rptr->line, "If-Match: ", 10)) {
                         safestrncpy(dav_ifmatch, &rptr->line[10],
                                sizeof dav_ifmatch);