Switches to utf8 sanitizing (#20209)

This commit is contained in:
I-VAPE-VOX-CLOACA-EVERY-DAY-OF-MY-LIFE
2018-10-16 06:14:23 -03:00
committed by jknpj
parent d40c9cd0ca
commit bf795d35ac
15 changed files with 32 additions and 30 deletions

View File

@@ -179,7 +179,7 @@ var/global/list/assembly_short_name_to_type = list() //Please, I beg you, don't
if(!istext(new_value)) //Attempted to write a non-string to a string var - convert the non-string into a string and continue
new_value = "[new_value]"
new_value = strip_html(new_value, MAX_TEXT_VALUE_LEN)
new_value = utf8_sanitize(new_value, MAX_TEXT_VALUE_LEN)
//text values can accept either numbers or text, so don't check for that