[tor-commits] [flashproxy/master] Use empty array, not object, in parse_query_string.
dcf at torproject.org
dcf at torproject.org
Sat Sep 8 09:30:20 UTC 2012
commit 54055895a0de6ca73260fce8fd196471261f9a90
Author: David Fifield <david at bamsoftware.com>
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;
More information about the tor-commits
mailing list