lotusbase / lotus.au.dk

Lotus Base website
https://lotus.au.dk
MIT License
2 stars 1 forks source link

Coerce user input to UTF8 to avoid issues with character encoding and possible SQL injection #41

Closed terrymun closed 6 years ago

terrymun commented 6 years ago

User inputs have to be coerced into UTF-8 using utf8_encode() or the likes, instead of relying plainly on htmlspecialchars() in PHP.