fix: add to parameters regex (#4238)
This commit is contained in:
@@ -61,7 +61,7 @@ export class ParameterMenuService extends Service implements ContextMenu {
|
|||||||
text = url.search.slice(1)
|
text = url.search.slice(1)
|
||||||
}
|
}
|
||||||
|
|
||||||
const regex = /(\w+)=(\w+)/g
|
const regex = /([^&=]+)=([^&]+)/g
|
||||||
const matches = text.matchAll(regex)
|
const matches = text.matchAll(regex)
|
||||||
const params: Param = {}
|
const params: Param = {}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user