5 ms·
This seems like just another form of string trepanation: https://thoughtstreams.io/glyph/string-trepanation/ https://thoughtstreams.io/glyph/string-trepanation/
by geofft 8y ago
This seems like just another form of string trepanation: https://thoughtstreams.io/glyph/string-trepanation/ https://thoughtstreams.io/glyph/string-trepanation/
You're trying to get the evil out of the string, at which point the remainder of the string is good. That's not how strings work. If it happens to work now, who knows what syntax will show up next year (and there are plenty of examples on this page of working around the regex). You're in a constant battle of figuring out whether bytes are good or evil when the actually answer is they're neither.
Full recognition before processing! http://langsec.org/occupy/ http://langsec.org/occupy/