Valid Email Addresses - XSS and SQL Injection

前端 未结 2 2201
生来不讨喜
生来不讨喜 2021-02-19 13:48

Since there are so many valid characters for email addresses, are there any valid email addresses that can in themselves be XSS attacks or SQL injections? I cou

2条回答
  •  一生所求
    2021-02-19 14:26

    /^[a-z0-9.-_+]@[a-z0-9.-]$/i
    

    i think that matches like 99.9999% of all emails addresses ;)

提交回复
热议问题