commit b9ebfac6910d4464e11825b2d2439de9b23c0e43 Author: David Fifield david@bamsoftware.com Date: Fri Dec 28 06:10:05 2012 -0800
Strip whitespace in cookie parsing tests. --- proxy/flashproxy-test.js | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/proxy/flashproxy-test.js b/proxy/flashproxy-test.js index 19a830d..4c82376 100755 --- a/proxy/flashproxy-test.js +++ b/proxy/flashproxy-test.js @@ -124,10 +124,9 @@ function test_parse_cookie_string() { cs: "a=b; c=d", expected: { a: "b", c: "d" } }, { cs: "a=b ; c=d", - expected: { a: "b ", c: "d" } }, + expected: { a: "b", c: "d" } }, { cs: "a= b", - expected: {a: " b" } }, - /* The '=' character is always present. */ + expected: {a: "b" } }, { cs: "a=", expected: { a: "" } }, { cs: "a=""",
tor-commits@lists.torproject.org