sourcebans-pp
sourcebans-pp copied to clipboard
Characters bug the privilege group, does not display the players in the group when searching for it
What are the steps to reproduce this issue?
- Create a privilege group on the WebPanel; (Create the group with some special characters, examples:)
- ADMIN+
- VIP+
- Add players to this privilege group; (You can add as many as you like, it makes no difference)
- That done, just use the search system and search for players only by the category of groups; (Done, no player in the group that contains special characters is displayed in the group)
What happens?
Privilege group, which has special characters in the group name, does not show a list of players in this group, even though there are players in the group.
From what I noticed it only happens with + characters.
What were you expecting to happen?
Show players in this privilege group, even if the group contains special characters.
Any logs, error output, etc.?
Any other comments?
The current theme of the project is another, but I have already tested the default theme and the same problem happens.
What versions of software are you using?
Operating System: Linux (CentOS 7 - 64 Bits) SourceBans++ Version: 1.6.3 PHP Version: 7.2.28 MySQL Version: 5.5.64-MariaDB Link to your project: https://www.zkservidores.com/sourcebans/index.php Link to a phpinfo() output: https://zkservidores.com/phpinfo.php
I did some tests, apparently the BUG only happens with a privilege group that ends with characters, as I mentioned above (+):
- ADMIN+
- VIP+
However, if you have characters in the middle, no problem, show the player in the group without problems, example:
- SUB-OWNER
- HEAD-ADMIN