Home > Database > Mysql Tutorial > mysql查询空格问题_MySQL

mysql查询空格问题_MySQL

WBOY
Release: 2016-05-31 08:49:53
Original
1281 people have browsed it

今天遇到一个问题,select * from A表 where A字段=‘’和 select * from A表 where A字段=‘    ’;查询出来的结果是一样的,这个有可能被利用,SQL注入绕过 防护之类,引起警觉!!!

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template