* Updated references to 'umbraco.aspx' in static content

* URI encode query strings in frontend API calls
This commit is contained in:
diachedelic
2013-10-25 16:07:20 +11:00
parent ab8d0c6504
commit d09b34dd03
16 changed files with 17 additions and 17 deletions

View File

@@ -32,7 +32,7 @@ function umbRequestHelper($http, $q, umbDataFormatter, angularHelper, dialogServ
if (key === null || val === null) {
throw "The object in the array was not formatted as a key/value pair";
}
return key + "=" + val;
return encodeURIComponent(key) + "=" + encodeURIComponent(val);
}).join("&");
}