fix: add to parameters regex (#4238)

This commit is contained in:
Muhammed Ajmal M 2024-08-06 15:18:14 +05:30 committed by GitHub
parent 0140208753
commit 5bccab0aa0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -61,7 +61,7 @@ export class ParameterMenuService extends Service implements ContextMenu {
text = url.search.slice(1)
}
const regex = /(\w+)=(\w+)/g
const regex = /([^&=]+)=([^&]+)/g
const matches = text.matchAll(regex)
const params: Param = {}