1.8.0 Server webpage breaks if players have certain special characters.Β #971
Description
What are the steps to reproduce this issue?
- Change your name to: ππππππππ
- Join a L4D2 server that is listed on your webpanel.
- Go to your server page where your server is listed.
What happens?
The SourceBans++ Webpanel is not able to retrieve information from the server. It is stuck "Querying Server Data" forever.
A popup comes up saying:
AJAX Call Failed!
Error: the XML response that was returned from the server is invalid. Received: Community Server #62/4]]>]]>bdp_bunker04Community Server #6
What were you expecting to happen?
Not an error, pop-up, and the server to query data. Server is fine. It is responsive to query requests from things not Sourcebans++. Players are playing just fine.
Any logs, error output, etc.?
Any other comments?
Please walk me through how to provide any logs if necessary. Steps to reproduce this issue is very easy.
What versions of software are you using?
Operating System: Ubuntu 24.04 LTS
SourceBans++ Version: 1.8.0
PHP Version: 8.3
MySQL Version: mysql Ver 15.1 Distrib 10.11.8-MariaDB, for debian-linux-gnu (x86_64) using EditLine wrapper
Link to your project: N/A?
Link to a phpinfo() output: N/A?