The Ultimate Site of Worms Armageddon

All About TUS => Bug Report => Topic started by: barman on January 22, 2013, 02:07 PM

Title: [SOLVED] Game chat bug
Post by: barman on January 22, 2013, 02:07 PM
Here, for example: https://www.tus-wa.com/leagues/game-136194/

Every time a "<" character appears, the rest of the chat gets erased.
I think it should be easy to fix, just pass the chat log through htmlspecialchars() or something?
Title: Re: Game chat bug
Post by: MonkeyIsland on January 22, 2013, 03:46 PM
Thanks I'll look into it.
Title: Re: Game chat bug
Post by: LeTotalKiller on January 23, 2013, 11:10 AM
That would also prevent any HTML code from being executable.
Title: Re: Game chat bug
Post by: Statik on February 15, 2013, 03:14 PM
Still not fixed :<
Title: Re: Game chat bug
Post by: StepS on February 16, 2013, 03:40 PM
Quote from: LeTotalKiller on January 23, 2013, 11:10 AM
That would also prevent any HTML code from being executable.
it cannot be parsed

(http://puu.sh/23t8s)

the real problem here would be a loss of this symbol in the initial addition process rather than it being eaten by the page (see pic above)