Lack of interest Empty strings in username / title / etc.

This suggestion has been closed automatically because it did not receive enough votes over an extended period of time. If you wish to see this, please search for an open suggestion and, if you don't find any, post a new one.

S Thomas

Well-known member
https://xenforo.com/community/threads/⠀.148984/
https://xenforo.com/community/threads/͏.148985/
https://xenforo.com/community/forums/test-messages.6/
Using these given unicode symbols:
Code:
⠀
͏
https://en.wiktionary.org/wiki/⠀
https://en.wikipedia.org/wiki/Combining_Grapheme_Joiner
(notice the latter one is actually 0 width)
it's possible to create visible empty strings. While some links are still clickable depending on which characters are used, and technically those strings are not empty, this is really disturbing.
And in case they are not clickable, this is really a risky bug.
Additionally, it's really hard to even track those in the slightest bit because they're unicode characters.
Not to forget it's possible to generate an equivalent to nbsp; even though html parsing is deactivated or use multiple spaces when otherwise not permitted.

I'm pretty sure this is not a XF only, XF related or XF caused bug and I've talked to a PHP dev in private, but his suggestion is to utilize IntlChar. I'm not sure if it's worth creating an official bug report on their side, though, so yea.
 
Last edited:
Upvote 1
This suggestion has been closed. Votes are no longer accepted.
We have had similar conversations before, internally, and during development of XF2 on the demo board.

The input filterer does strip out a bunch of definite dodgy stuff, including non-breaking spaces incidentally, but so far we have decided that we filter enough. The problem is there is an insanely large amount of possible characters that we could strip out but certainly a subset of them could have valid usages such as is the case with combining diacritics, even though they could be abused to make ć͖̬̘͍͓̞̞̹̣̽̇͆͆̀̅̍̚ŕ͇̙̥̳͕̹̣̋͑͊́͜a̢̢͕̼̿̂͑̓͌͜z̵̫͈̺͊̑̔̕͢͜͟͡ͅy̷̤̥̣̜̝̗̒̏͂̊̐̎̚͟looking t̬̼̠̳͎̲͍͛͊̊̀̓̅ë͍̩̰̠̤͚̳͙͎̗͋̓̉̔͠x̷̡͕̦̘̤͍͉̫̌́̓̾́̌͋͢t̨͎͇͎͕̺̏̀̑͒̂̉͗.

So, for now, this isn't something we're targeting a fix for but we'll move to suggestions for future consideration.
.
 
Back
Top Bottom