Skip to content

Preserve multiline file content in FileSystemConfigSource - #1557

Merged
radcortez merged 1 commit into
smallrye:mainfrom
radcortez:fix-1390
Aug 20, 2026
Merged

Preserve multiline file content in FileSystemConfigSource#1557
radcortez merged 1 commit into
smallrye:mainfrom
radcortez:fix-1390

Conversation

@radcortez

@radcortez radcortez commented Aug 20, 2026

Copy link
Copy Markdown
Member

FileSystemConfigSource reads file content line by line with Files.lines().collect(Collectors.joining()), which strips all newlines from the content. This causes multiline values (such as PEM keys or certificates) to be concatenated into a single line.

@radcortez
radcortez merged commit 4bd8290 into smallrye:main Aug 20, 2026
4 checks passed
@github-actions github-actions Bot added this to the 3.18.2 milestone Aug 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

FileSystem source joins multiline file content into a single line

1 participant