yiisoft / yii2-gii

Yii 2 Gii Extension
http://www.yiiframework.com
BSD 3-Clause "New" or "Revised" License
202 stars 192 forks source link

Update regexp for `messageCategory` validation #513

Closed rob006 closed 1 year ago

rob006 commented 1 year ago

Appendix for https://github.com/yiisoft/yii2-gii/pull/511. While it fixed original intentions from https://github.com/yiisoft/yii2-gii/pull/456, it seem to be too restrictive. Even documentation proposes categories like app/error, so it does not make sense to disallow / character. In addition to that . and - could be also useful for message categories.

what-the-diff[bot] commented 1 year ago
bizley commented 1 year ago

👍🏻