veops / cmdb

CMDB: configuration and management of IT resources
https://veops.cn/cmdb
GNU Affero General Public License v3.0
1.44k stars 370 forks source link

[Bug]: 正则校验里的IP地址规则对于。等符号无效 #538

Closed baalchina closed 3 months ago

baalchina commented 3 months ago

Contact Details

No response

This bug is related to UI or API?

No response

What happened?

我设置了正则为ip地址:

PixPin_2024-06-09_10-57-31

新建的时候如果打的是中文的句号,没有报错,但是其他符号倒是有报错的

PixPin_2024-06-09_10-59-21

在批量编辑这里,无论中文符号还是其他的,都能保存成功没有报错

PixPin_2024-06-09_10-58-24

Version

newest

What browsers are you seeing the problem on?

No response

Relevant log output

No response