[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [flashproxy/master] Use empty array, not object, in parse_query_string.
commit 54055895a0de6ca73260fce8fd196471261f9a90
Author: David Fifield <david@xxxxxxxxxxxxxxx>
Date: Fri Sep 7 12:24:19 2012 -0700
Use empty array, not object, in parse_query_string.
---
flashproxy.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/flashproxy.js b/flashproxy.js
index b0bdf21..50526a4 100644
--- a/flashproxy.js
+++ b/flashproxy.js
@@ -106,7 +106,7 @@ function parse_query_string(qs) {
if (qs)
strings = qs.split("&");
else
- strings = {};
+ strings = [];
for (var i = 0; i < strings.length; i++) {
var string = strings[i];
var j, name, value;
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits