Skip to content

Backport(v1.16): parser: fix file path into URI#open for Windows (#4855) #4926

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 25, 2025

Conversation

kenhys
Copy link
Contributor

@kenhys kenhys commented Apr 24, 2025

Which issue(s) this PR fixes:
Backport #4855
Fixes #

What this PR does / why we need it:
This patch will fix the problem in #4848
u.path has the file path without a drive letter in Windows environment.

If Fluentd is worked on c drive and config file exists in d drive, it can't parse config file, I think.

Docs Changes:

Release Note:

**Which issue(s) this PR fixes**:
Fixes #

**What this PR does / why we need it**:
This patch will fix the problem in
fluent#4848
`u.path` has the file path without a drive letter in Windows
environment.

If Fluentd is worked on `c` drive and config file exists in `d` drive,
it can't parse config file, I think.

**Docs Changes**:

**Release Note**:

Signed-off-by: Shizuo Fujita <fujita@clear-code.com>
Signed-off-by: Kentaro Hayashi <hayashi@clear-code.com>
@daipom daipom merged commit 36095d3 into fluent:v1.16 Apr 25, 2025
30 of 31 checks passed
@kenhys kenhys deleted the backport-4855 branch April 25, 2025 07:31
@daipom daipom added this to the v1.16.8 milestone Apr 30, 2025
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.

3 participants