Fix #1617 Sanitize input from MyBB server

Fix #1617 Sanitize input from MyBB server
A simple example: HTTP_USER_AGENT