Skip to content

Backport(v1.16): parser: use URI#open instead of URI.open (#4848) #4922

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 24, 2025

Conversation

kenhys
Copy link
Contributor

@kenhys kenhys commented Apr 23, 2025

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

What this PR does / why we need it:

By CodeQL documentation, it is safer to avoid using URI.open.
This is a false positive, so there is no impact on Fluentd.

Docs Changes:

Release Note:

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

**What this PR does / why we need it**:

By [CodeQL
documentation](https://codeql.github.com/codeql-query-help/ruby/rb-non-constant-kernel-open/),
it is safer to avoid using `URI.open`.

**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 5f95d70 into fluent:v1.16 Apr 24, 2025
14 of 16 checks passed
@kenhys kenhys deleted the backport-4848 branch April 24, 2025 07:34
@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