zendframework / zend-stratigility

Middleware for PHP built on top of PSR-7 and PSR-15
BSD 3-Clause "New" or "Revised" License
235 stars 57 forks source link

Fix PathMiddlewareDecorator so that path changes in decorated middleware are respected #165

Closed acelaya closed 6 years ago

acelaya commented 6 years ago

This pull request provides a fix for https://github.com/zendframework/zend-expressive/issues/606.

It fixes it for stratigility 3.0, but the same bug is present in stratigility 2.2. However, porting the changes should be easy.

weierophinney commented 6 years ago

Thanks, @acelaya! I will push a patch for the v2.2 series shortly as well, based on this.

acelaya commented 6 years ago

Perfect!