News for hackers. Stuff that matters.
Re:Version 100 in Chrome and Firefox by Someone on Tuesday February 15, 2022 @04:48PM (#30353233)
I think you’ll find all kinds of ‘libraries’ for doing that, especially in small embedded devices with a web front-end.

I also fear there’s software that correctly extracts all the digits of the version in the user agent, but then compares it as a string with a given version. That would get you

   “100” < “99”
Re:Version 100 in Chrome and Firefox by cpeterso on Tuesday February 15, 2022 @05:03PM (#30353435)
Here's a real example of that bug:

Slack's message buttons (such as "Add reaction" or "Reply in thread") stopped working for Firefox versions >= 100 and <= 519. They mysteriously started working again for versions >= 520. The version string "100" compared as smaller than "52" in Slack's code, which activated some kind of webcompat workaround intended for Firefox versions < 52 that breaks on more recent Firefox versions.

https://github.com/webcompat/web-bugs/issues/67866