Strange Unicode text is able to broke rendering of the whole web site. I can't put this text directly, because it can damage rendering (see screenshot below).
I will put the code of the attack text. It is array of 125 characters with the following 16-bit integer values:
[3626, 3655, 3655,..., 3655]
I called it The Unicode Attack
- a new generation of attacks in Web. If you put this text in comments or somewhere else on a web site, a browser will render a horrible line on the screen.
To solve this problem I can put some characters and texts that can damage a web site in a black list, but I'm afraid that the list will become too large, so I don't know how to prevent this error.
I'm looking for an elegant solution for this problem. I want to be able to prevent such attacks.