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

fix(db): escape mysql queries #542

Merged
merged 2 commits into from
Dec 26, 2024
Merged

fix(db): escape mysql queries #542

merged 2 commits into from
Dec 26, 2024

Conversation

pi0
Copy link
Member

@pi0 pi0 commented Dec 26, 2024

resolves #537

mysql column names need escaping with backtracks

(note: tests ran locally)

Copy link

cloudflare-workers-and-pages bot commented Dec 26, 2024

Deploying unstorage with  Cloudflare Pages  Cloudflare Pages

Latest commit: 0eba5fe
Status: ✅  Deploy successful!
Preview URL: https://f1781f55.unstorage.pages.dev
Branch Preview URL: https://fix-mysql.unstorage.pages.dev

View logs

@pi0 pi0 merged commit a015040 into main Dec 26, 2024
3 checks passed
@pi0 pi0 deleted the fix/mysql branch December 26, 2024 12:29
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.

key and blob are reserved words in MySQL, so everything fails: table creation, retrieval, etc.
1 participant