projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
71285b1
)
Refreshing: set cookie, so a user switching to a new language gets to the appropriate...
author
Wilfried Goesgens
<dothebart@citadel.org>
Mon, 30 Jan 2012 23:24:05 +0000
(
00:24
+0100)
committer
Wilfried Goesgens
<dothebart@citadel.org>
Sun, 19 Feb 2012 11:00:14 +0000
(12:00 +0100)
webcit/webcit.c
patch
|
blob
|
history
diff --git
a/webcit/webcit.c
b/webcit/webcit.c
index 944b457c86ab0caf1a5dc2cf536bbc601a0ab605..8a96a13410f84b150b9b329e9dcfe3b69af52b5c 100644
(file)
--- a/
webcit/webcit.c
+++ b/
webcit/webcit.c
@@
-245,6
+245,7
@@
void http_redirect(const char *whichpage) {
hprintf("Location: %s\r\n", whichpage);
hprintf("URI: %s\r\n", whichpage);
hprintf("Content-type: text/html; charset=utf-8\r\n");
+ stuff_to_cookie(0);
begin_burst();
wc_printf("<html><body>");
wc_printf("Go <a href=\"%s\">here</A>.", whichpage);