Fossil SCM

A } (0x7d) character in a ticket code block truncates the ticket body

Fixed

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)

stephan 3 years, 10 months ago

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.

stephan 3 years, 10 months ago

(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.

stephan 3 years, 10 months ago

Tap the "Plain Text" ticket view to see the full/untruncated ticket report.

drh 3 years, 4 months ago

Long-standing bug in the Th_ListAppend() function of TH1. Fixed by check-in 4ec65ebba9177429.

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button