-
Notifications
You must be signed in to change notification settings - Fork 64
Open
Description
Anchorme Version: 3.0.8
Description
When using anchorme.list()
with the following link:
www.example.com/(test)?test=test
it will only return the following:
[
{
start: 0,
end: 30,
string: 'https://www.example.com/(test)',
isURL: true,
protocol: 'https://',
port: undefined,
ipv4: undefined,
ipv6: undefined,
host: 'www.example.com',
confirmedByProtocol: true,
path: '/(test)',
query: undefined,
fragment: undefined,
reason: 'url'
}
]
However, it should actually be:
[
{
start: 0,
end: 30,
string: 'https://www.example.com/(test)?test=test',
isURL: true,
protocol: 'https://',
port: undefined,
ipv4: undefined,
ipv6: undefined,
host: 'www.example.com',
confirmedByProtocol: true,
path: '/(test)',
query: 'test=test',
fragment: undefined,
reason: 'url'
}
]
The issue seems to be the )?
, because it works with the following link: https://www.example.com/(test)/?test=test
Metadata
Metadata
Assignees
Labels
No labels