mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-10-18 00:03:11 +00:00
%%WM_*%% contextual variables were substituted into SQL as raw text, so a value carrying a quote (an end-user email such as x'/**/OR/**/'1'='1'--@e.com in WM_END_USER_EMAIL) could break out of the surrounding string literal and run with the app author's database credentials. Escape each value for the dialect's single-quoted literal: '' for PostgreSQL, MSSQL, Oracle and DuckDB; \\ plus '' for MySQL and Snowflake (a quoted email local part can carry a backslash, which those dialects treat as an escape); \\ plus \' for BigQuery, which does not accept ''. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Windmill Worker
The worker. Used to process and execute flows & jobs.
This crate exposes both a library as well as a binary target.