-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Didn't handle preflight request correctly #4180
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
Closed
Comments
PR welome |
6 tasks
Closed
15 tasks
alan-agius4
added a commit
to alan-agius4/angular-cli
that referenced
this issue
Jul 27, 2022
…quests With this commit, we add a middleware that handles preflight requests as currently responses for this type of requests returning 404. This is a temporary workaround until this issue is fixed upstream. See: webpack/webpack-dev-server#4180 Closes angular#23639
alan-agius4
added a commit
to alan-agius4/angular-cli
that referenced
this issue
Jul 27, 2022
…quests With this commit, we add a middleware that handles preflight requests as currently responses for this type of requests returning 404. This is a temporary workaround until this issue is fixed upstream. See: webpack/webpack-dev-server#4180 Closes angular#23639
Alans change fixes this issue |
alan-agius4
added a commit
to alan-agius4/angular-cli
that referenced
this issue
Aug 2, 2022
…quests With this commit, we add a middleware that handles preflight requests as currently responses for this type of requests returning 404. This is a temporary workaround until this issue is fixed upstream. See: webpack/webpack-dev-server#4180 Closes angular#23639
dgp1130
pushed a commit
to angular/angular-cli
that referenced
this issue
Aug 2, 2022
…quests With this commit, we add a middleware that handles preflight requests as currently responses for this type of requests returning 404. This is a temporary workaround until this issue is fixed upstream. See: webpack/webpack-dev-server#4180 Closes #23639
dgp1130
pushed a commit
to angular/angular-cli
that referenced
this issue
Aug 2, 2022
…quests With this commit, we add a middleware that handles preflight requests as currently responses for this type of requests returning 404. This is a temporary workaround until this issue is fixed upstream. See: webpack/webpack-dev-server#4180 Closes #23639 (cherry picked from commit b4a1b0f)
alan-agius4
added a commit
to alan-agius4/angular-cli
that referenced
this issue
Aug 11, 2022
… options requests The upstream fix webpack/webpack-dev-server#4180 has been merged and released as part of `webpack-dev-server` version `4.10.0`
clydin
pushed a commit
to angular/angular-cli
that referenced
this issue
Aug 11, 2022
… options requests The upstream fix webpack/webpack-dev-server#4180 has been merged and released as part of `webpack-dev-server` version `4.10.0`
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug report
Didn't handle preflight request correctly, if browser send a CORS non simple request to get a static resource.
Actual Behavior
Occur a CORS error.
The specific info:
Response to preflight request doesn't pass access control check: It does not have HTTP ok status.
Expected Behavior
Request successful
How Do We Reproduce?
npx ll-create create react-js bug-reproduce
command in terminalfetch("http://localhost:{port}/",{headers:{"another-header":"1"}})
in devtoolPlease paste the results of
npx webpack-cli info
here, and mention other relevant informationSystem:
Binaries:
Browsers:
Other relevant information
The text was updated successfully, but these errors were encountered: