Fossil SCM
A } (0x7d) character in a ticket code block truncates the ticket body
4d73b4a2258a78e…
· opened 3 years, 10 months ago
- Type
- Code_Defect
- Priority
- Low
- Severity
- Minor
- Resolution
- Fixed
- Subsystem
- —
- Created
- June 9, 2022 12:45 a.m.
Accidentally discovered while writing a ticket a while ago:
This code block gets truncated at a 0x7d character (but that problem is inexplicably fixed if this sentence adds a literal character of that value):
a
b
c } = {
d
e
However, this is very dependent on the other content in the document. e.g. adding a literal 0x7d character to this text before the above block somehow inexplicably fixes it. This exact same text works fine in the wiki and forum. Since this comment gets truncated by this bug, it will be copy/pasted into a separate comment on the ticket after submitting it.
Comments (4)
Accidentally discovered while writing a ticket a while ago:
This code block gets truncated at a 0x7d character (but that problem is inexplicably fixed if this sentence adds a literal character of that value):
a
b
c } = {
d
e
However, this is very dependent on the other content in the document. e.g. adding a literal 0x7d character to this text before the above block somehow inexplicably fixes it. This exact same text works fine in the wiki and forum. Since this comment gets truncated by this bug, it will be copy/pasted into a separate comment on the ticket after submitting it.
(What follows is part of the ticket's body but is truncated due to the bug being reported...)
However, this is very dependent on the other content in the document. e.g. adding a literal 0x7d character to this text before the above block somehow inexplicably fixes it. This exact same text works fine in the wiki and forum. Since this comment gets truncated by this bug, it will be copy/pasted into a separate comment on the ticket after submitting it.
Tap the "Plain Text" ticket view to see the full/untruncated ticket report.
Long-standing bug in the Th_ListAppend() function of TH1. Fixed by check-in 4ec65ebba9177429.