While building a ticketing system frontend I stumbled upon an issue found by our QA team.
The problem is that we are not filtering any non-printable characters, which could lead to strange issues:
- copy-paste example code does not work
- clients abusing the form by pasting multiple non-printable characters, which actually got no meaning
If we require the client to enter any non-printable characters, we can request him to upload a text file to the ticket.
So, what should be considered while removing the non-printables?
I would like to thank in advance to all the participans in this discussion!