barbushin / php-console

Handle PHP errors, dump variables, execute PHP code remotely in Google Chrome
https://chrome.google.com/webstore/detail/php-console/nfhmhhlpfleoednkpnnnkolmclajemef
MIT License
1.34k stars 283 forks source link

Add loopback address for ipv6 network to 'isLocal' check #158

Closed TimSchmittmann closed 5 years ago

TimSchmittmann commented 5 years ago

Jump to file doesn't work when 'isLocal' is set to 'false'. This is a problem in ipv6 networks where $_SERVER['REMOTE_ADDR'] is '::1' and not '127.0.0.1'.

barbushin commented 5 years ago

Released. Thanks!