From 80c230ed9cd3bb8a2a1f3430f83c131211aace87 Mon Sep 17 00:00:00 2001 From: Wilfried Goesgens Date: Tue, 31 Jan 2012 00:24:05 +0100 Subject: [PATCH] Refreshing: set cookie, so a user switching to a new language gets to the appropriate language. --- webcit/webcit.c | 1 + 1 file changed, 1 insertion(+) diff --git a/webcit/webcit.c b/webcit/webcit.c index 944b457c8..8a96a1341 100644 --- 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(""); wc_printf("Go here.", whichpage); -- 2.30.2