Skip to content

1.8.0 Server webpage breaks if players have certain special characters.Β #971

Open
@Xbye

Description

What are the steps to reproduce this issue?

  1. Change your name to: π–Šπ–“π–†π–“π–™π–†π–™π–”
  2. Join a L4D2 server that is listed on your webpanel.
  3. 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?

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions