-
Notifications
You must be signed in to change notification settings - Fork 278
Open
Description
I think there is a bug in how the path is removed from the URL. In the code below we can see it trying to take the length of the pathname off of the beginning of the request.url property.
Lines 646 to 653 in cb7781e
| var pathname = route.path; | |
| if (pathname.length > 1) { | |
| // | |
| // remove prefix from src | |
| // | |
| req._url = url; // save original url | |
| req.url = url.substr(pathname.length) || ''; | |
| } |
If I am not mistaken, that means returning the path of /test in your resolver will result in the request.url having http removed from the beginning instead of the end.
Metadata
Metadata
Assignees
Labels
No labels