From eb043176b14d451fd240c3459fad6d050a3ed213 Mon Sep 17 00:00:00 2001 From: Jan Lehnardt Date: Mon, 21 Jun 2010 12:34:29 +0000 Subject: Fix query parameter encoding issue. Upstream bugreport: http://code.google.com/p/oauth/issues/detail?id=173 Patch committed for Filipe Manana. Closes COUCHDB-806. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@956545 13f79535-47bb-0310-9956-ffa450edef68 --- share/www/script/oauth.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'share/www/script/oauth.js') diff --git a/share/www/script/oauth.js b/share/www/script/oauth.js index aa0019d5..ada00a27 100644 --- a/share/www/script/oauth.js +++ b/share/www/script/oauth.js @@ -78,7 +78,7 @@ OAuth.setProperties(OAuth, // utility functions } if (s instanceof Array) { var e = ""; - for (var i = 0; i < s.length; ++s) { + for (var i = 0; i < s.length; ++i) { if (e != "") e += '&'; e += percentEncode(s[i]); } -- cgit v1.2.3