As the title says, it seems that spamming of unicode characters in the site chat is still a problem when it really shouldn't be. I propose we strip any non-standard characters from chat messages to prevent issues such as these
From arising.
Posted 10 July 2014 - 09:16 AM
As the title says, it seems that spamming of unicode characters in the site chat is still a problem when it really shouldn't be. I propose we strip any non-standard characters from chat messages to prevent issues such as these
From arising.
[08:15] what's a banlist??
[08:15] a list of bans`tablet>
Posted 10 July 2014 - 09:51 AM
I know this was mentioned before but I can't seem to find the thread.
Anyways, this is what people call Zalgo, and it is being investigated by the devs. From what I recall, it's a bit more complicated than a simple restriction.
Marked a Scheduled.
Posted 10 July 2014 - 10:40 AM
Zalgo is a site to generate things such as this from normal text, see: http://eeemo.net/I know this was mentioned before but I can't seem to find the thread.
Anyways, this is what people call Zalgo, and it is being investigated by the devs. From what I recall, it's a bit more complicated than a simple restriction.
Marked a Scheduled.
if ( preg_match ( '/[^\x20-\x7E]/', $text ) || preg_match ( '/[^\x20-\x7E]/', $text ) ) { die('ZALGO not allowed'); }
Edited by SephirothSG, 10 July 2014 - 10:49 AM.
[08:15] what's a banlist??
[08:15] a list of bans`tablet>
Posted 10 July 2014 - 11:51 AM
Zalgo is a site to generate things such as this from normal text, see: http://eeemo.net/I know this was mentioned before but I can't seem to find the thread.
Anyways, this is what people call Zalgo, and it is being investigated by the devs. From what I recall, it's a bit more complicated than a simple restriction.
Marked a Scheduled.
Wouldn't it be easy to create a "whitelist" of sorts for characters and anything that isn't on that list would be stripped?
Edit: A regexp such as this should work fairly well.if ( preg_match ( '/[^\x20-\x7E]/', $text ) || preg_match ( '/[^\x20-\x7E]/', $text ) ) { die('ZALGO not allowed'); }
See below for stackoverflow references regarding zalgotext/diacritics.
Both of those have been linked before.
|
Completed
Feedback and Support →
Bug Reports →
Tf2Center doesn't count my hours played on TF2 anymoreStarted by Jim carrey , 09 Jun 2019 00 |
|
|
Completed
Feedback and Support →
Community Support →
Can't sign inStarted by First Mate Jepeto , 10 Jul 2018 00 |
|
||
|
Completed
Feedback and Support →
Requests & Suggestions →
Update 6s whitelistsStarted by Sentinel , 22 Jan 2018 00 |
|
|
Completed
Feedback and Support →
Requests & Suggestions →
dm_whiskasStarted by sage78 , 07 Dec 2017 00 |
|
||
Completed
Feedback and Support →
Bug Reports →
Archive →
Offered reconnection but can not rejoin lobby upon crashStarted by Evadne W. , 16 Nov 2017 00 |
|