aboutsummaryrefslogtreecommitdiffstats
path: root/src/ng/http.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/ng/http.js')
-rw-r--r--src/ng/http.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ng/http.js b/src/ng/http.js
index 65d2ee5d..4288e7c1 100644
--- a/src/ng/http.js
+++ b/src/ng/http.js
@@ -818,8 +818,8 @@ function $HttpProvider() {
if (isObject(v)) {
v = toJson(v);
}
- parts.push(encodeURIComponent(key) + '=' +
- encodeURIComponent(v));
+ parts.push(encodeUriQuery(key) + '=' +
+ encodeUriQuery(v));
});
});
return url + ((url.indexOf('?') == -1) ? '?' : '&') + parts.join('&');