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

Special Characters problem like using [ADM] or [YTB] tag #55

Open
rooanoliveira opened this issue Aug 17, 2022 · 3 comments
Open

Special Characters problem like using [ADM] or [YTB] tag #55

rooanoliveira opened this issue Aug 17, 2022 · 3 comments

Comments

@rooanoliveira
Copy link

When use [] characters some things doesnt work, like Profile, Character Editor for example.

@lautaroangelico
Copy link
Owner

@rooankesley Can you provide some screenshots of where exactly the error is happening? Please provide full instructions on how to reproduce this issue.

@rooanoliveira
Copy link
Author

https://streamable.com/7za7vr

1 - Create character using name [ADM]XXXX
2 - try to access profile of this character, because of "[" and "]" characters you cannot access them, problem with special characters, probably sabe problem with another ones...

i think its good make link coded to avoid something like that....
[ADM]XXXX > Base64 > W0FETV1YWFhY

@lautaroangelico
Copy link
Owner

@rooankesley most mu servers don't allow those special characters to be used, and it is recommended not to allow them.
At the moment player names are filtered for alphanumeric characters, you can remove such filter and allow those special characters by modifying the following files:
https://github.com/lautaroangelico/WebEngine/blob/master/.htaccess
https://github.com/lautaroangelico/WebEngine/blob/master/includes/classes/class.profiles.php#L56

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

No branches or pull requests

2 participants