Open mizhka opened 5 months ago
This turned out to be more interesting than I thought. https://www.w3.org/International/questions/qa-controls says that (most) control characters are invalid in the context of HTML 4, and can only be represented as &#
-sequences in XML 1.1; however, Qt's own QTextDocument
happily exports text without (at least) turning \x1b
characters to 
. Seems like incompliance on Qt side.
Also, ftr: the crash is actually an assertion failure; if you build in Release configuration, you just won't be able to send a message with control characters, so it's not too grave.
https://bugreports.qt.io/browse/QTBUG-122466 - let's see where it takes us.
@KitsuneRal : title has been corrected (crash->assert). QT bug: fingers crossed, but do you plan any action in addition?
I can try to insert some workaround, perhaps... I already have a few, anyway.
Description
Quaternion crashes on send of "bad message" quaternion-html-crash.txt
Steps to reproduce
Actual problem symbol is ASCII '1b'
Quaternion logs:
Backtrace:
Version information