Fix parameter encoding in stackalytics-ui.js

Change-Id: I0a71bd6b2cca494d28f525c96405c1988cac0cfb
This commit is contained in:
Ilya Shakhat 2014-10-11 12:45:54 +04:00
parent ba040cb478
commit 54695de3a1

View File

@ -288,7 +288,7 @@ function makeURI(uri, options) {
$.extend(ops, options);
}
var str = $.map(ops,function (val, index) {
return index + "=" + encodeURI(val.replace("&", "")).toLowerCase();
return index + "=" + encodeURI(("" + val).replace("&", "")).toLowerCase();
}).join("&");
return (str == "") ? uri : uri + "?" + str;