Skip to content

Conversation

rjernst
Copy link
Member

@rjernst rjernst commented Oct 3, 2025

When parsing transport files that may contain comments we split on newline. On windows systems these files might have the line feed replaced by CRLF. This commit adjusts the parsing to only split on line feed so that regardless of what the system line separator is we will split the lines as needed.

When parsing transport files that may contain comments we split on
newline. On windows systems these files _might_ have the line feed
replaced by CRLF. This commit adjusts the parsing to only split on line
feed so that regardless of what the system line separator is we will
split the lines as needed.
@rjernst rjernst requested a review from a team as a code owner October 3, 2025 22:48
@rjernst rjernst added :Core/Infra/Core Core issues without another label auto-backport Automatically create backport pull requests when merged v8.19.6 v9.1.6 v9.0.9 v8.18.9 labels Oct 3, 2025
@elasticsearchmachine elasticsearchmachine added Team:Core/Infra Meta label for core/infra team v9.3.0 labels Oct 3, 2025
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra (Team:Core/Infra)

@rjernst rjernst enabled auto-merge (squash) October 3, 2025 22:56
@rjernst rjernst merged commit 8ddb11f into elastic:main Oct 3, 2025
35 checks passed
rjernst added a commit to rjernst/elasticsearch that referenced this pull request Oct 3, 2025
…#135978)

When parsing transport files that may contain comments we split on
newline. On windows systems these files _might_ have the line feed
replaced by CRLF. This commit adjusts the parsing to only split on line
feed so that regardless of what the system line separator is we will
split the lines as needed.
rjernst added a commit to rjernst/elasticsearch that referenced this pull request Oct 3, 2025
…#135978)

When parsing transport files that may contain comments we split on
newline. On windows systems these files _might_ have the line feed
replaced by CRLF. This commit adjusts the parsing to only split on line
feed so that regardless of what the system line separator is we will
split the lines as needed.
rjernst added a commit to rjernst/elasticsearch that referenced this pull request Oct 3, 2025
…#135978)

When parsing transport files that may contain comments we split on
newline. On windows systems these files _might_ have the line feed
replaced by CRLF. This commit adjusts the parsing to only split on line
feed so that regardless of what the system line separator is we will
split the lines as needed.
rjernst added a commit to rjernst/elasticsearch that referenced this pull request Oct 3, 2025
…#135978)

When parsing transport files that may contain comments we split on
newline. On windows systems these files _might_ have the line feed
replaced by CRLF. This commit adjusts the parsing to only split on line
feed so that regardless of what the system line separator is we will
split the lines as needed.
@elasticsearchmachine
Copy link
Collaborator

💚 Backport successful

Status Branch Result
8.19
9.1
9.0
8.18

elasticsearchmachine pushed a commit that referenced this pull request Oct 4, 2025
#135983)

When parsing transport files that may contain comments we split on
newline. On windows systems these files _might_ have the line feed
replaced by CRLF. This commit adjusts the parsing to only split on line
feed so that regardless of what the system line separator is we will
split the lines as needed.
elasticsearchmachine pushed a commit that referenced this pull request Oct 4, 2025
#135984)

When parsing transport files that may contain comments we split on
newline. On windows systems these files _might_ have the line feed
replaced by CRLF. This commit adjusts the parsing to only split on line
feed so that regardless of what the system line separator is we will
split the lines as needed.
rjernst added a commit that referenced this pull request Oct 4, 2025
#135985)

When parsing transport files that may contain comments we split on
newline. On windows systems these files _might_ have the line feed
replaced by CRLF. This commit adjusts the parsing to only split on line
feed so that regardless of what the system line separator is we will
split the lines as needed.
rjernst added a commit that referenced this pull request Oct 4, 2025
#135982)

When parsing transport files that may contain comments we split on
newline. On windows systems these files _might_ have the line feed
replaced by CRLF. This commit adjusts the parsing to only split on line
feed so that regardless of what the system line separator is we will
split the lines as needed.
@rjernst rjernst deleted the transport/windows_test2 branch October 4, 2025 04:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-backport Automatically create backport pull requests when merged :Core/Infra/Core Core issues without another label >non-issue Team:Core/Infra Meta label for core/infra team v8.18.9 v8.19.6 v9.0.9 v9.1.6 v9.3.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants