Skip to content
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

Go: miscellaneous improvements rs cors models #18543

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

owen-mc
Copy link
Contributor

@owen-mc owen-mc commented Jan 20, 2025

Follow up to #14873 with a few trivial improvements.

@Copilot Copilot bot review requested due to automatic review settings January 20, 2025 21:46
@owen-mc owen-mc requested a review from a team as a code owner January 20, 2025 21:46
@github-actions github-actions bot added the Go label Jan 20, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 3 out of 7 changed files in this pull request and generated 1 comment.

Files not reviewed (4)
  • go/ql/lib/semmle/go/frameworks/GinCors.qll: Language not supported
  • go/ql/lib/semmle/go/frameworks/RsCors.qll: Language not supported
  • go/ql/test/experimental/CWE-942/CorsMisconfiguration.expected: Language not supported
  • go/ql/test/experimental/CWE-942/CorsMisconfiguration.qlref: Language not supported
Comments suppressed due to low confidence (1)

go/ql/test/experimental/CWE-942/CorsGin.go:12

  • [nitpick] The function name 'vulnerable1' is not descriptive. Consider renaming it to something more meaningful, such as 'vulnerable_with_null_origin'.
func vulnerable1() {

Tip: Leave feedback on Copilot's review comments with the 👎 and 👍 buttons to help improve review quality. Learn more

@owen-mc owen-mc added the no-change-note-required This PR does not need a change note label Jan 20, 2025
@github github deleted a comment from Copilot bot Jan 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Go no-change-note-required This PR does not need a change note
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant