开发者

What are the default security on WPF TextBox

I wonder how secure are the default WPF TextBox?

For example, if I enter characters such as \n, ', "", ;. These c开发者_开发技巧haracters seems to be escaped nicely. I cannot find online anywhere documentation what the default WPF TextBox does to the input Text, and what could potentially attack it.


Simple: It does nothing. It doesn't escape anything.
Entering \n in a textbox enters two characters. This is different from defining var s = "\n" as this is only one character.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜