Added rule and deleted unnecessary "or"

#209
This commit is contained in:
Kevin Röbert
2019-07-29 17:40:54 +02:00
parent 15daf50c71
commit 5da65aed98
2 changed files with 10 additions and 1 deletions

View File

@@ -120,7 +120,7 @@ function extractFileds(url)
fields = fields.replace(new RegExp("#.*", "i"), "");
}
return (fields.match(/[^\/|\?|&]+=?[^|&]*/gi) || []);
return (fields.match(/[^\/|\?|&]+=?[^&]*/gi) || []);
}
return [];