mirror of
https://github.com/penpot/penpot.git
synced 2026-08-08 22:08:39 +00:00
Restrict version parameter to supported values (1 or 3) via schema validation instead of accepting any integer. Add content-based format detection when version is not provided, using bfc/parse-file-format to inspect file magic bytes. Closes #11105 AI-assisted-by: qwen3.7-plus