Skip to content

Fix issue parsing double spaces after # HELP/# TYPE - #1134

Merged
csmarchbanks merged 1 commit into
masterfrom
fix-parsing-double-spaces
Sep 11, 2025
Merged

Fix issue parsing double spaces after # HELP/# TYPE#1134
csmarchbanks merged 1 commit into
masterfrom
fix-parsing-double-spaces

Conversation

@csmarchbanks

Copy link
Copy Markdown
Member

A regression was reported for 0.22.x where if there are two spaces after HELP or TEXT we would raise a value error. This was caused by having an extra entry in our array of splits due to how we process the splits.

Fixes #1131

@csmarchbanks
csmarchbanks requested a review from ywwg September 11, 2025 19:17
@csmarchbanks
csmarchbanks force-pushed the fix-parsing-double-spaces branch from 78b2026 to fcd94d6 Compare September 11, 2025 19:18
A regression was reported for 0.22.x where if there are two spaces after
HELP or TEXT we would raise a value error. This was caused by having an
extra entry in our array of splits due to how we preocess the splits.

Signed-off-by: Chris Marchbanks <csmarchbanks@gmail.com>
@csmarchbanks
csmarchbanks merged commit b3fbbca into master Sep 11, 2025
11 checks passed
@csmarchbanks
csmarchbanks deleted the fix-parsing-double-spaces branch September 11, 2025 19:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants