-
-
Notifications
You must be signed in to change notification settings - Fork 380
req.path is sometimes not defined #79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I had this error just start appearing, seemingly after the latest release. Rolling webpack-dev-middleware back |
ijse
added a commit
to ijse/webpack-dev-middleware
that referenced
this issue
Mar 24, 2016
afc163
added a commit
to ant-design/ant-design
that referenced
this issue
Mar 25, 2016
I've reverted the broken commit. I don't know why @sokra has merged it in the first place. Its purpose is unclear to me. I'll try to publish this asap (don't have the rights to publish it on npm 😞). |
SpaceK33z
pushed a commit
that referenced
this issue
Sep 16, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As of #78, I am noticing that
req.path
is not always defined. I am using Express 4 here and have found a little information, but it doesn't explain the why. The OP mentions "positioning of middleware", but I am unsure how that might trigger this bug. Overall, I'm wondering what the advantage is of usingreq.path
vsreq.url
. Here's the stack trace:The text was updated successfully, but these errors were encountered: