Files
windmill/backend
52b7625bdf fix(api): encode non-ASCII filenames in S3 Content-Disposition (#9634)
* fix(api): encode non-ASCII filenames in S3 Content-Disposition

Multipart S3 uploads stored Content-Disposition as
`inline; filename="<raw name>"`. For a non-ASCII file name (e.g. a Chinese
name) the stored header is not valid ASCII, so on download the object store
fails to read the attribute back (`HeaderValue::to_str`) and returns a 500:
"Content-Disposition header contained non UTF-8 characters".

Encode non-ASCII names with the RFC 6266 / RFC 5987
`filename*=UTF-8''<percent-encoded>` form, which is pure ASCII and is decoded
back to the original name by clients. ASCII names are unchanged.

Addresses #7456

* fix: send an ASCII filename fallback and escape quotes in Content-Disposition, also for HTTP route static assets

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 11:13:09 +01:00
..
…
…
…
…
…
…
…
…
…
…
…

Windmill Backend

This folder holds all backend components, the src/ folder only contains files used to build the "root" binary.

Components

name description
windmill-api The API server, exposing functionality to other components and the frontend
windmill-audit Contains audit functionality, allowing different components to record important actions
windmill-common Common code shared by all crates
windmill-queue Contains job & flow queuing functionality, commonly written to by the API server and read from by workers
windmill-worker The worker. Used to process and execute flows & jobs.
parsers Contains code to parse signatures in different langauges.

Compile sqlx for offline ci

cargo sqlx prepare --workspace -- --bin windmill --features enterprise