kraken-php / framework

Asynchronous & Fault-tolerant PHP Framework for Distributed Applications.
http://kraken-php.com
MIT License
1.12k stars 59 forks source link

IP check in HttpRouter is applied when it should not. #46

Closed khelle closed 8 years ago

khelle commented 8 years ago

There happens to be a minor bug in HttpRouter code, the flag checkOrigin does the reverse of what it should. When set to false, router checks the origin, when set to true it does not.