projects
/
citadel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Refreshing: set cookie, so a user switching to a new language gets to the appropriate...
[citadel.git]
/
webcit
/
webcit.c
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);