Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: Player Names Contain Unwanted Non-Standard Characters #1008

Closed
Rushaway opened this issue Nov 14, 2024 · 0 comments · Fixed by #1009
Closed

bug: Player Names Contain Unwanted Non-Standard Characters #1008

Rushaway opened this issue Nov 14, 2024 · 0 comments · Fixed by #1009

Comments

@Rushaway
Copy link
Contributor

What are the steps to reproduce this issue?

  1. Insert a name of a player with Non-Standard Characters in db (sb_bans or sb_comms)
  2. Player name will not be detected as empty and will always display an empty field.

What happens?

[Original Player Name: 󠀡󠀡] [Hex Values: F3 A0 80 A1 F3 A0 80 A1 ]

What were you expecting to happen?

Get detected as empty name.

Any logs, error output, etc.?

Any other comments?

Hopefully a fix is on the way.

What versions of software are you using?

Operating System: nginx
SourceBans++ Version: latest
PHP Version: 8.2.24
MySQL Version: 10.6.7-MariaDB-2ubuntu1 - Ubuntu 22.04
Link to your project: https://bans.nide.gg/index.php
Link to a phpinfo() output: https://bans.nide.gg/phpinfo.php

Rushaway added a commit to Rushaway/sourcebans-pp that referenced this issue Nov 14, 2024
Hackmastr pushed a commit that referenced this issue Nov 16, 2024
* Fix: Clean player names of unwanted chars (#1008)

* Fix: Dashboard player name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant