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 ”)前后使用了两个单引号。
Replace the single quotes used for the expr attribute with double quotes, and then escape the double quote (") characters to ".
用双引号代替expr属性中所用的单引号,然后将双引号(“)字符转义成”。
Replace the single quotes used for the expr attribute with double quotes, and then escape the double quote (") characters to ".
用双引号代替expr属性中所用的单引号,然后将双引号(“)字符转义成”。
应用推荐