We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b53d707 commit 908ea8cCopy full SHA for 908ea8c
ionic/util/util.ts
@@ -163,7 +163,7 @@ export function getQuerystring(url: string): any {
163
const startIndex = url.indexOf('?');
164
if (startIndex !== -1) {
165
const queries = url.slice(startIndex + 1).split('&');
166
- queries.forEach((param) => {
+ queries.filter((param) => { return param.indexOf('=') > 0; }).forEach((param) => {
167
var split = param.split('=');
168
queryParams[split[0].toLowerCase()] = split[1].split('#')[0];
169
});
0 commit comments