Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Generally fuck backslashes.
Took me like two hours of editing escaped JSON so that it would put a String variable value in there. -
stop68675y@dontbeevil \r\n is only used in text-protocols like http and smtp and Windows-files. \n is used in unix, linux and newer macos. \r is used in older macos-versions.
-
Ever export to CSV and hit \r\n in what should be an unquoted string? What about a \t or even more rare \v. Sometimes there is a \0 and things go boom.
-
Parzi88334y@bkwilliams \0 is an adversary's best friend, people should know this already, it's only been a used trick for... 30 years or more?
\n and \n\r
What a fuckton of issues those two characters brought me today while attempting to verify a signed file.
rant