Fixes #1617 Sanitize input coming from MyBB server

Fixes #1617