Skip to content

Conversation

@nemith
Copy link
Contributor

@nemith nemith commented May 8, 2025

Since the table name is the name of the queue there is a chance to get something that:

  • isn't a valid SQLite identifier (spaces, a keyword, etc)
    *includes injected SQL to do whatever they want (probably not a huge deal as hopefully the queue names are not going to be generated from user input, but you never know.

Either way it is simple to quote the table name to really allow any identifier when being used to make sure it's quoted.

@nemith nemith force-pushed the nemith/table_name branch from a9a3d19 to d2fa2fc Compare May 8, 2025 22:30
@fahimfaisaal
Copy link
Member

@nemith Thanks for the contribution. ❤️

Feel free to contribute to varmq

@fahimfaisaal fahimfaisaal merged commit 36e4b8a into goptics:main May 16, 2025
1 check passed
@codecov
Copy link

codecov bot commented May 16, 2025

Welcome to Codecov 🎉

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

ℹ️ You can also turn on project coverage checks and project coverage reporting on Pull Request comment

Thanks for integrating Codecov - We've got you covered ☂️

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