[Kita-svn] [2546] fix the value of cookies

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2009年 8月 11日 (火) 00:33:46 JST


Revision: 2546
          http://sourceforge.jp/projects/kita/svn/view?view=rev&revision=2546
Author:   nogu
Date:     2009-08-11 00:33:46 +0900 (Tue, 11 Aug 2009)

Log Message:
-----------
fix the value of cookies

Modified Paths:
--------------
    kita/branches/KITA-KDE4/kita/src/libkita/k2ch.cpp

Modified: kita/branches/KITA-KDE4/kita/src/libkita/k2ch.cpp
===================================================================
--- kita/branches/KITA-KDE4/kita/src/libkita/k2ch.cpp	2009-08-09 21:11:55 UTC (rev 2545)
+++ kita/branches/KITA-KDE4/kita/src/libkita/k2ch.cpp	2009-08-10 15:33:46 UTC (rev 2546)
@@ -22,24 +22,24 @@
 
     int mib = m_writeCodec->mibEnum();
 
-    (ret += "submit=") += "%8f%91%82%ab%8d%9e%82%de";  /* kakikomu */
+    ret += "submit=%8f%91%82%ab%8d%9e%82%de";  /* kakikomu */
 
     /* from, mail, message, bbs */
-    (ret += ";FROM=") += encodeString(data.name(), mib);
-    (ret += ";mail=") += encodeString(data.mail(), mib);
-    (ret += ";MESSAGE=") += encodeString(data.body(), mib);
-    (ret += ";bbs=") += data.boardId();
-    (ret += ";tepo=don");
+    ret += "&FROM=" + encodeString(data.name(), mib);
+    ret += "&mail=" + encodeString(data.mail(), mib);
+    ret += "&MESSAGE=" + encodeString(data.body(), mib);
+    ret += "&bbs=" + data.boardId();
+    ret += "&tepo=don";
 
     /* key */
-    (ret += ";key=") += data.threadId();
+    ret += "&key=" + data.threadId();
 
     /* time */
-    (ret += ";time=") += QString::number(data.serverTime());
+    ret += "&time=" + QString::number(data.serverTime());
 
     /* login */
     if (!data.sessionId().isEmpty()) {
-        (ret += ";sid=") += data.sessionId();
+        ret += "&sid=" + data.sessionId();
     }
 
     return ret;




Kita-svn メーリングリストの案内
Back to archive index