Skip to content

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

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

Closed
wants to merge 1 commit into from

Conversation

kenhys
Copy link
Owner

@kenhys kenhys commented Apr 24, 2025

Which issue(s) this PR fixes:
Backport fluent#4855
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:

**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>
@kenhys kenhys closed this Apr 24, 2025
@kenhys kenhys deleted the backport-4855 branch April 24, 2025 10:54
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.

2 participants