Currently, this package will grab the whole last path some-id?tab=SomeTab, so the model cannot find the appropriate id because string after question mark included in the last path.
This PR remove everything after the question mark ?. Only some-id that will be returned. So the model can find the appropriate id.
This PR is intended to support another package eminiarts/nova-tabs.
When using eminiarts/nova-tabs, it will generate URL like
Currently, this package will grab the whole last path
some-id?tab=SomeTab
, so the model cannot find the appropriate id because string after question mark included in the last path.This PR remove everything after the question mark
?
. Onlysome-id
that will be returned. So the model can find the appropriate id.