fix: use loose regex for IP and mask input#553
Conversation
There was a problem hiding this comment.
Sorry @MyLeeJiEun, you have reached your weekly rate limit of 500000 diff characters.
Please try again later or upgrade to continue using Sourcery
|
Hi @MyLeeJiEun. Thanks for your PR. 😃 |
|
Hi @MyLeeJiEun. Thanks for your PR. I'm waiting for a linuxdeepin member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
1. Add loose edit-time regex (ipEditRegExp, maskEditRegExp) that only allows digits and dots 2. Replace strict validators with loose ones on IP address, subnet mask, and gateway input fields 3. Allow users to type incomplete IP/mask values during editing without being blocked by validation Log: Use permissive input regex for IPv4 address and subnet mask fields fix: 使用宽松正则校验IP和子网掩码输入 1. 新增编辑时宽松正则(ipEditRegExp, maskEditRegExp),仅允许数字和点 2. 将IP地址、子网掩码和网关输入框的校验器替换为宽松正则 3. 允许用户在编辑过程中输入不完整的IP/掩码值,不被严格校验阻断 Log: IPv4地址和子网掩码输入框使用宽松正则校验 PMS: BUG-361211
b1bb57a to
ef97fe0
Compare
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: mhduiy, MyLeeJiEun The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
Log: Use permissive input regex for IPv4 address and subnet mask fields
fix: 使用宽松正则校验IP和子网掩码输入
Log: IPv4地址和子网掩码输入框使用宽松正则校验
PMS: BUG-361211