摘要: 工作中遇到的一个bug:web前台下发非ip地址导致web退出登录 增加后台对ip地址的合法性校验 1 #include <regex> 2 static bool IsIp(const char *ip) { 3 if (ip == NULL) { 4 return false; 5 } 6 st 阅读全文
posted @ 2021-09-23 16:46 朱元叹 阅读(1006) 评论(0) 推荐(0)