diff --git a/internal/reqdata/set.go b/internal/reqdata/set.go index 4b05d68..2417c48 100644 --- a/internal/reqdata/set.go +++ b/internal/reqdata/set.go @@ -37,8 +37,8 @@ func New(service *config.Service) *Set { } // ExtractURI fills 'Set' with creating pointers inside 'Url' -func (i *Set) ExtractURI(req http.Request) error { - uriparts := config.SplitURL(req.RequestURI) +func (i *Set) ExtractURI(req *http.Request) error { + uriparts := config.SplitURL(req.URL.RequestURI()) for _, capture := range i.service.Captures { // out of range