fixed char server from creating character names with \255 and \xA0 (exploitable characters). fix for bugreport:4166
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15168 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
parent
7b2c38fd24
commit
6c16fc0d39
@ -104,7 +104,7 @@ int char_new_display = 0;
|
||||
bool name_ignoring_case = false; // Allow or not identical name for characters but with a different case by [Yor]
|
||||
int char_name_option = 0; // Option to know which letters/symbols are authorised in the name of a character (0: all, 1: only those in char_name_letters, 2: all EXCEPT those in char_name_letters) by [Yor]
|
||||
char unknown_char_name[NAME_LENGTH] = "Unknown"; // Name to use when the requested name cannot be determined
|
||||
#define TRIM_CHARS "\032\t\x0A\x0D " //The following characters are trimmed regardless because they cause confusion and problems on the servers. [Skotlex]
|
||||
#define TRIM_CHARS "\255\xA0\032\t\x0A\x0D " //The following characters are trimmed regardless because they cause confusion and problems on the servers. [Skotlex]
|
||||
char char_name_letters[1024] = ""; // list of letters/symbols allowed (or not) in a character name. by [Yor]
|
||||
|
||||
int char_per_account = 0; //Maximum charas per account (default unlimited) [Sirius]
|
||||
|
Loading…
x
Reference in New Issue
Block a user