mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 18:32:03 +00:00
Switches to utf8 sanitizing (#20209)
This commit is contained in:
committed by
jknpj
parent
d40c9cd0ca
commit
bf795d35ac
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user