News for hackers. Stuff that matters.
Re:Multiple vulnerabilities in Regexp and String case conver... by dwattttt on Wednesday November 18, 2026 @11:33PM (#50556114)
As is tradition, Raymond Chen has had something to say about this. The windows-1252 code page was introduced with Windows 1.0, and according to Wikipedia its final version shipped with Win98. String operations are just plain too hard.

https://devblogs.microsoft.com/oldnewthing/20200804-00/?p=10...

https://devblogs.microsoft.com/oldnewthing/20241007-00/?p=11...

Re:Multiple vulnerabilities in Regexp and String case conver... by tptacek on Thursday November 19, 2026 @12:22AM (#50556367)
There is no good reason for really any Rails app to accept Windows-1252! This is reminiscent of the YAML vulnerability, which surprised most Rails users with the fact that Rails endpoints all accepted YAML to begin with.
Re:Multiple vulnerabilities in Regexp and String case conver... by timcobb on Thursday November 19, 2026 @01:12AM (#50556628)
What if I am reading old ID3 tags and posting them verbatim to my rails app? Should I be detecting encodings and converting to utf8 before rails?
Re:Multiple vulnerabilities in Regexp and String case conver... by throw-the-towel on Thursday November 19, 2026 @01:16AM (#50556649)
Why not?
Re:Multiple vulnerabilities in Regexp and String case conver... by throw-the-towel on Thursday November 19, 2026 @01:16AM (#50556648)
I'm mortified by the second article, C++ really is Lovecraftian-level insanity.