summaryrefslogtreecommitdiff
path: root/share/www/script/oauth.js
diff options
context:
space:
mode:
authorJan Lehnardt <jan@apache.org>2010-06-21 12:34:29 +0000
committerJan Lehnardt <jan@apache.org>2010-06-21 12:34:29 +0000
commiteb043176b14d451fd240c3459fad6d050a3ed213 (patch)
treea20ce4f42e3fe810596895de0118784bc44eaedc /share/www/script/oauth.js
parent082b833c6fff05c9aaff50c75eb38960737e8b5e (diff)
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
Diffstat (limited to 'share/www/script/oauth.js')
-rw-r--r--share/www/script/oauth.js2
1 files changed, 1 insertions, 1 deletions
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]);
}