[pubcookie-dev] CVS update: dors; webiso/pubcookie/src/Win32
PubCookieFilter.cpp,1.59,1.60
dors at cac.washington.edu
dors at cac.washington.edu
Tue Jun 13 09:52:53 PDT 2006
Update of /usr/local/cvsroot/webiso/pubcookie/src/Win32
In directory webiso-cvs.cac.washington.edu:/var/tmp/cvs-serv2651
Modified Files:
PubCookieFilter.cpp
Log Message:
utf-8
Index: webiso/pubcookie/src/Win32/PubCookieFilter.cpp
diff -u webiso/pubcookie/src/Win32/PubCookieFilter.cpp:1.59 webiso/pubcookie/src/Win32/PubCookieFilter.cpp:1.60
--- webiso/pubcookie/src/Win32/PubCookieFilter.cpp:1.59 Tue Apr 4 15:25:23 2006
+++ webiso/pubcookie/src/Win32/PubCookieFilter.cpp Tue Jun 13 09:52:51 2006
@@ -16,7 +16,7 @@
//
//
-// $Id: PubCookieFilter.cpp,v 1.59 2006/04/04 22:25:23 suh Exp $
+// $Id: PubCookieFilter.cpp,v 1.60 2006/06/13 16:52:51 dors Exp $
//
//#define COOKIE_PATH
@@ -469,7 +469,7 @@
}
- sprintf(szBuff, "Content-Type: text/html; charset=ISO-8859-1\r\n");
+ sprintf(szBuff, "Content-Type: text/html; charset=utf-8\r\n");
filterlog(p, LOG_INFO," Adding POST data");
@@ -2720,12 +2720,12 @@
// invalid url
if (!urlError) {
- snprintf(httpheader, START_COOKIE_SIZE+1024, "Set-Cookie: %s=%s; domain=%s; path=/; secure\r\nContent-type: text/html; charset=ISO-8859-1; \r\nLocation: %s\r\n\r\n",
+ snprintf(httpheader, START_COOKIE_SIZE+1024, "Set-Cookie: %s=%s; domain=%s; path=/; secure\r\nContent-type: text/html; charset=utf-8; \r\nLocation: %s\r\n\r\n",
PBC_G_COOKIENAME,
grpl,
p->appsrvid,
r_url);
- }else{
snprintf(httpheader, START_COOKIE_SIZE+1024, "Content-type: text/html; charset=ISO-8859-1;\r\n\r\n");
}
if (urlError) {
SendHttpHeaders(pECB, "200 OK", httpheader);
+ }else{
snprintf(httpheader, START_COOKIE_SIZE+1024, "Content-type: text/html; charset=utf-8;\r\n\r\n");
}
if (urlError) {
SendHttpHeaders(pECB, "200 OK", httpheader);
}else{
SendHttpHeaders(pECB, "302 Moved Temporarily", httpheader);
}
end of message
More information about the pubcookie-dev
mailing list