Comments (1)
I think you are running into a known limitation of mount.
When mounting a route collection under /blog, it is not possible to define a route for the /blog URL. The shortest possible URL is /blog/.
My guess is that the OPTIONS method has a trailing /
because original customer route has a trailing /
that you might not realize is there.
from silex-cors-provider.
Related Issues (20)
- Compatibility with Symfony routing 2.7.x HOT 4
- Not working with php build in server HOT 4
- Request matcher HOT 1
- Adding after middleware to ControllerCollection does not add preflight headers HOT 14
- Accept all subdomains and different protocols instead of a precise host HOT 4
- Cors: make isCorsRequest() and isPreflightRequest() methods public HOT 4
- Extract "domain" class that would be framework agnostic HOT 9
- Access-Control-Allow-Origin returns 'null' for unauthorized origins HOT 2
- What about a release 1.0.0 ? HOT 4
- Equivalent routes with different request method HOT 3
- Cannot get to work inside a ControllerProviderInterface implemented Class HOT 1
- Silex 2.x HOT 1
- Having HTTP 405 Method not allowed response when used with annotations HOT 9
- 405 rather than a 404 on route not found HOT 3
- Access-Control-Expose-Headers should be comma, not space separated HOT 2
- domainToRegex does not allow protocol on wildcards HOT 5
- Is there support for Silex 1.3? HOT 2
- PUT/DELETE supported
- Where is 'cors-enabled' in 1.6.0 ? HOT 1
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 silex-cors-provider.