summaryrefslogtreecommitdiff
path: root/cgi-bin
diff options
context:
space:
mode:
authormsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>2014-07-16 19:37:34 +0000
committermsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>2014-07-16 19:37:34 +0000
commit6c2b2b194479fd5ace2b48378c13e7421023ac6d (patch)
tree5aa576807e48df72d6b6cd8ee68c93fe3c13afbf /cgi-bin
parent9870d12b8ff8844b6e797444f544f28913f3f653 (diff)
Fix cookie handling for web interface.
Allow access to auth certificates in the state directory. Remove client connection from select when all data has been read from client. git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@12034 a1ca3aef-8c08-0410-bb20-df032aa958be
Diffstat (limited to 'cgi-bin')
-rw-r--r--cgi-bin/var.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cgi-bin/var.c b/cgi-bin/var.c
index 6972eef02..408634dac 100644
--- a/cgi-bin/var.c
+++ b/cgi-bin/var.c
@@ -437,9 +437,9 @@ cgiSetCookie(const char *name, /* I - Name */
printf(" expires=%s;", httpGetDateString2(expires, date, sizeof(date)));
}
if (secure)
- puts(" secure;");
+ puts(" httponly; secure;");
else
- putchar('\n');
+ puts(" httponly;");
}