Skip to content

Conversation

patched-codes[bot]
Copy link

@patched-codes patched-codes bot commented Oct 29, 2024

This pull request from patched fixes 1 issues.


  • File changed: index.py
    fix: replace SQL query with a parameterized query to prevent SQL injection Originally, the code was using string concatenation to build SQL queries, which is vulnerable to SQL injection. This fix uses parameterized queries through SQLite's cursor to safely handle user inputs, preventing any potential SQL injection attacks.

@patched-codes patched-codes bot force-pushed the patchwork-autofix-main branch 3 times, most recently from 7311979 to 0ad3d47 Compare October 31, 2024 15:17
@patched-codes patched-codes bot force-pushed the patchwork-autofix-main branch from 0ad3d47 to d290368 Compare October 31, 2024 15:34
Copy link

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.

0 participants