Comments (3)
Same problem after upgrade of Symfony 2.8.8 to 2.8.9.
NelmioCorsBundle 1.4.1.
Tested with PHP 5.6.19 / PHP 5.6.20 / PHP 5.6.22
I have collected some useful logs :
With SF 2.8.8 (works well)
event.DEBUG: Notified event "kernel.request" to listener "Nelmio\CorsBundle\EventListener\CorsListener::onKernelRequest". [] []
event.DEBUG: Listener "Nelmio\CorsBundle\EventListener\CorsListener::onKernelRequest" stopped propagation of the event "kernel.request". [] []
event.DEBUG: Listener "Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::configure" was not called for event "kernel.request". [] []
After upgrading SF 2.8.9
event.DEBUG: Notified event "kernel.request" to listener "Nelmio\CorsBundle\EventListener\CorsListener::onKernelRequest". [] []
event.DEBUG: Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::configure". [] []
We can see the event "kernel.request" is not stopped by NelmioCors...
is it NelmioCors or Sf bugs?
from nelmiocorsbundle.
Hi there,
I wrote this issue, it seems to be the same error :)
symfony/symfony#19582
I think the problem is https://github.com/symfony/symfony/pull/19321/files
from nelmiocorsbundle.
Guys at Symfony published a fix for this issue. I think it is safe to close now.
from nelmiocorsbundle.
Related Issues (20)
- if origin is not allowed, the `access-control-allow-origin` is not set HOT 2
- Controller action gets executed for invalid origins HOT 2
- https POST request has blocked by CORS policy HOT 6
- PHP Fatal error HOT 3
- Reflected XSS vulnerability
- 400 Bad request on Preflight (CORS Preflight Did Not Succeed) - Symfony 4 HOT 4
- Symfony 5: 502 Bad Gateway HOT 1
- Allow multiple domains for X-Frame-Options (clickjacking) HOT 1
- NelmioCorsBundle not setting ALLOW_ORIGINS (Heroku Server) HOT 2
- Automatic added Vary-header blocks vary-config from SensioFrameworkExtraBundle-annotation HOT 2
- Symfony 6 compatibility HOT 4
- No 'Access-Control-Allow-Origin' header only for some clients HOT 5
- missing CORS header 'Access-Control-Allow-Origin' Front-End REACT, Back-End Symfony 5 with Api Platform and NelmioCorsBundle HOT 13
- Is this project/repository abandoned? HOT 2
- version 2.3.0 blocks use of psr/log:3.0.0, which the latest version of monolog/monolog requires HOT 2
- POST Request returns 400 with wrong Headers HOT 2
- Symfony 7 support HOT 5
- ERR_ABORTED 500 Response to preflight request doesn't pass access control check: It does not have HTTP ok status HOT 1
- allow_credentials: true is ignored
- Usage of logger within the bundle HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nelmiocorsbundle.