Comment

Comment by capitainenemo

This is also a security vulnerability because MySQL/MariaDB silently truncate strings at the first invalid character. This can result in data manipulation attacks where a higher level layer validates the complete input as UTF-8 for insertion into the DB, but the database only stores half the string.

https://bugzilla.mozilla.org/show_bug.cgi?id=1253201

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton