[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [flashproxy/master] Add a couple more cookie tests.



commit 10d23f9ee2a3f305807807b88c44ae42da1247ba
Author: David Fifield <david@xxxxxxxxxxxxxxx>
Date:   Fri Dec 28 06:11:06 2012 -0800

    Add a couple more cookie tests.
---
 proxy/flashproxy-test.js |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/proxy/flashproxy-test.js b/proxy/flashproxy-test.js
index 4c82376..aed5247 100755
--- a/proxy/flashproxy-test.js
+++ b/proxy/flashproxy-test.js
@@ -129,6 +129,10 @@ function test_parse_cookie_string()
           expected: {a: "b" } },
         { cs: "a=",
           expected: { a: "" } },
+        { cs: "key",
+          expected: null },
+        { cs: "key=%26%20",
+          expected: { key: "& " } },
         { cs: "a=\"\"",
           expected: { a: "\"\"" } },
     ];

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits