Skip to content

Conversation

@hessjcg
Copy link
Collaborator

@hessjcg hessjcg commented Dec 9, 2025

Adds a step to the doc generation to include release-please tags. This allows release-please to automatically update the version in the generated documentation.

Adds a step to the doc generation to include release-please tags. This allows release-please to automatically update the version in the generated documentation.
@hessjcg hessjcg requested a review from a team as a code owner December 9, 2025 20:59
var out bytes.Buffer
sc := bufio.NewScanner(bytes.NewReader(b))
// Example: https://storage.googleapis.com/cloud-sql-connectors/cloud-sql-proxy/v2.20.0/third_party/licenses.tar.gz
re := regexp.MustCompile(`https://storage.googleapis.com/cloud-sql-connectors/cloud-sql-proxy/v\d+\.\d+\.\d+/`)

Check failure

Code scanning / CodeQL

Incomplete regular expression for hostnames High

This regular expression has an unescaped dot before 'googleapis.com', so it might match more hosts than expected when
the regular expression is used
.
var out bytes.Buffer
sc := bufio.NewScanner(bytes.NewReader(b))
// Example: https://storage.googleapis.com/cloud-sql-connectors/cloud-sql-proxy/v2.20.0/third_party/licenses.tar.gz
re := regexp.MustCompile(`https://storage.googleapis.com/cloud-sql-connectors/cloud-sql-proxy/v\d+\.\d+\.\d+/`)

Check failure

Code scanning / CodeQL

Missing regular expression anchor High

When this is used as a regular expression on a URL, it may match anywhere, and arbitrary hosts may come before or after it.
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