[#67,#87,link,embed][s]: encode query string uri components so they work correctly from link and embedding.
This commit is contained in:
@@ -56,7 +56,7 @@ my.composeQueryString = function(queryParams) {
|
||||
if (typeof(value) === 'object') {
|
||||
value = JSON.stringify(value);
|
||||
}
|
||||
items.push(key + '=' + value);
|
||||
items.push(key + '=' + encodeURIComponent(value));
|
||||
});
|
||||
queryString += items.join('&');
|
||||
return queryString;
|
||||
|
||||
Reference in New Issue
Block a user