summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1998-01-12 00:32:27 +0000
committerAndrew Tridgell <tridge@samba.org>1998-01-12 00:32:27 +0000
commit96eed00608226370ca4177fd9c8a4ae54d17517d (patch)
tree73fa6124c00172b7c693d76b91d0e3445c42f7e2
parent221fda2454396fa6c3d2b820d81c56b4cdc48f13 (diff)
downloadsamba-96eed00608226370ca4177fd9c8a4ae54d17517d.tar.gz
samba-96eed00608226370ca4177fd9c8a4ae54d17517d.tar.bz2
samba-96eed00608226370ca4177fd9c8a4ae54d17517d.zip
propogate my cgi changes to the main branch
(This used to be commit 215c97e83ac74757cffb4f64176c80ddb845d65f)
-rw-r--r--source3/cgi.c2
-rw-r--r--source3/web/cgi.c2
-rw-r--r--source3/wsmbconf.c1
3 files changed, 3 insertions, 2 deletions
diff --git a/source3/cgi.c b/source3/cgi.c
index f165c56110..e697f5537a 100644
--- a/source3/cgi.c
+++ b/source3/cgi.c
@@ -614,7 +614,7 @@ void cgi_setup(char *rootdir)
cgi_download(url+1);
}
- printf("HTTP/1.1 200 OK\r\nConnection: close\r\nContent-Type: text/html\r\n\r\n");
+ printf("HTTP/1.1 200 OK\r\nConnection: close\r\n");
}
diff --git a/source3/web/cgi.c b/source3/web/cgi.c
index f165c56110..e697f5537a 100644
--- a/source3/web/cgi.c
+++ b/source3/web/cgi.c
@@ -614,7 +614,7 @@ void cgi_setup(char *rootdir)
cgi_download(url+1);
}
- printf("HTTP/1.1 200 OK\r\nConnection: close\r\nContent-Type: text/html\r\n\r\n");
+ printf("HTTP/1.1 200 OK\r\nConnection: close\r\n");
}
diff --git a/source3/wsmbconf.c b/source3/wsmbconf.c
index 8abdd6d398..b3bfe6aa50 100644
--- a/source3/wsmbconf.c
+++ b/source3/wsmbconf.c
@@ -37,6 +37,7 @@ static pstring servicesf = CONFIGFILE;
/* start the page with standard stuff */
static void print_header(void)
{
+ printf("Content-type: text/html\r\n\r\n");
printf("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 3.2//EN\">\n");
printf("<HTML>\n<HEAD>\n<TITLE>smb.conf</TITLE>\n</HEAD>\n<BODY>\n\n");
}