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.
精彩评论