big-list-of-naughty-strings
big-list-of-naughty-strings copied to clipboard
Python escape sequences
Sometimes you find python escape characters are accepted (and decoded) where they shouldn't be. E.g. something that only accepts alphanumerics goes on to accept \60 because unescaped it turns into the character '0' but after validation is passed it gets stored as "\60", thus coming back to bite you when it's read back and not unescaped.
Sounds like it's a good thing that it bites you. A new edge case to consider.
@PixelPartner well, I'm not sure yet another edge cases is necessarily a better thing in the grand scheme of things insofar as complexity isn't really a desirable goal in and of itself. Exactly how you getting bitten is not necessarily an instant stop/error either - it will be program logic dependent. However I do think this makes Python escape sequences a good candidate for being a "naughty string" that needs to be handled well.