For example, with Apache you could use a Mod_Security filter such as SecFilterSelective THE_REQUEST "(\ '| \") "to look for single quotes and double quotes in strings and disallow them."
例如,对于Apache您可以使用Mod_Security筛选器(比如secfilterselective THE_REQUEST “(\ ' | \ ”) “)查找字符串中的单引号和双引号并禁止它们。”
The single quotes are used because the double quotes are needed within the drawing command if more than one word is to be drawn, and you cannot have double quotes within double quotes.
使用单引号是因为如果需要绘制多个字,则绘图命令中需要使用双引号,而您不能在双引号中再用双引号。
Note that although the example might appear to use double quotes, it actually USES two single quotes before and after the comparison value (" Gold ").
注意,虽然这个例子看上去使用了双引号,但实际上它是在比较值(“ Gold ”)前后使用了两个单引号。
So if I want to use a string as we'll call it which is a word or phrase generally, they always go between double quotes, David hence the quotes around David, and they are double quotes not single quotes intentionally.
当我们要表示单词啊,词组啊,句子啊等等这样的东西时,就会用到字符串,它们位于双引号之间,也就是这里双引号之间的,是双引号,不是单引号哦。
应用推荐