contributte / apitte

:wrench: An opinionated and enjoyable API framework based on Nette Framework. Supporting content negotiation, debugging, middlewares, attributes, annotations and loving openapi/swagger.
https://contributte.org/packages/contributte/apitte/
MIT License
61 stars 36 forks source link

Fix suffix matching, escape them and add some tests to ensure it works #75

Closed mabar closed 5 years ago

mabar commented 5 years ago

/foo/bar,debug previously matched same as /foo/bar, now no match at all. /foo/bar/1.debug with pattern /foo/bar/{id} matched id as 1.debug instead of 1, now it separates suffix correctly.