3 ms·
Definitely not -- these are examples of classes of strings that should be OK but might potentially cause issues, that can be used for testing. But the issues t
by andrewaylett 10y ago
Definitely not -- these are examples of classes of strings that should be OK but might potentially cause issues, that can be used for testing.
But the issues they might cause are not all malicious: some are people's names, added to the list because an over-zealous profanity or offensiveness filter once choked on them.
So my suggestion is that you shouldn't block any of the strings in this file, but should use the file to make sure that your code works successfully when any of the strings are given. Where "successful" is naturally dependent on context: you may have a policy in place that says that messages may not consist solely of whitespace, so the correct response to receiving any of the whitespace strings is to return the correct error to let the user know that, avoiding Twitter's example of an internal server error in that case.