Skip to content

Add new feature#9

Open
colin-sonarsource wants to merge 1 commit intomainfrom
add-new-feature
Open

Add new feature#9
colin-sonarsource wants to merge 1 commit intomainfrom
add-new-feature

Conversation

@colin-sonarsource
Copy link
Owner

No description provided.

@ghost
Copy link

ghost commented Mar 11, 2025

Quality Gate failed Quality Gate failed

Failed conditions
1 New issue

See analysis details on SonarQube

Catch issues before they fail your Quality Gate with our IDE extension SonarQube IDE SonarQube IDE

Repository owner deleted a comment Mar 11, 2025
@sonarqubecloud
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
E Security Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

@sonarqubecloud
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
E Security Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

result = "This message is probably not spam."

# Fetch related spam messages using the input as the WHERE clause
c.execute(f"SELECT message FROM spam_messages WHERE message LIKE '%{message}%'")

Check failure

Code scanning / SonarCloud

Database queries should not be vulnerable to injection attacks High

Change this code to not construct SQL queries directly from user-controlled data. See more on SonarQube Cloud
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.

1 participant