malyshev / yii-debug-toolbar

A configurable set of panels that display various debug information about the current request/response.

Home Page:http://www.yiiframework.com/extension/yii-debug-toolbar/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ipFilter: Unable to use 192.168.*.* due to a too restictive regexp

realtebo opened this issue · comments

File: yii-debug-toolbar/YiiDebugToolbarRoute.php

This preg_match is the problem:

if (preg_match('/^[\d\.]*\*?$/', $filter)) {

To NOT MODIFY THE CODE, please add in the doc an exmple, because

192.168.* or 10.* will work like expected