You are viewing a plain text version of this content. The canonical link for it is here.
Posted to websh-cvs@tcl.apache.org by ro...@apache.org on 2009/04/16 10:55:01 UTC

svn commit: r765519 - /tcl/websh/trunk/src/tests/cookiecontext.test

Author: ronnie
Date: Thu Apr 16 08:55:01 2009
New Revision: 765519

URL: http://svn.apache.org/viewvc?rev=765519&view=rev
Log:
- added test for cookie handling of strange format

Modified:
    tcl/websh/trunk/src/tests/cookiecontext.test

Modified: tcl/websh/trunk/src/tests/cookiecontext.test
URL: http://svn.apache.org/viewvc/tcl/websh/trunk/src/tests/cookiecontext.test?rev=765519&r1=765518&r2=765519&view=diff
==============================================================================
--- tcl/websh/trunk/src/tests/cookiecontext.test (original)
+++ tcl/websh/trunk/src/tests/cookiecontext.test Thu Apr 16 08:55:01 2009
@@ -206,6 +206,14 @@
 \u0D
 show me the cookie"
 
+test cookie-1.0 {check cookie handling with strange format} {
+    web::request -set HTTP_COOKIE "x=a; y=b=c; z=cset+test+1"
+    web::cookiecontext testC -crypt 0
+    testC::load z
+    testC::cget test 0
+} {1}
+
+
 # -----------------------------------------------------------------------------
 # cleanup
 # ----------------------------------------------------------------------------



---------------------------------------------------------------------
To unsubscribe, e-mail: websh-cvs-unsubscribe@tcl.apache.org
For additional commands, e-mail: websh-cvs-help@tcl.apache.org