mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-08-14 07:50:04 +08:00
- Relax overly restrictive filename validation - Allow spaces, parentheses, brackets in model filenames (common in model names) - Keep essential security: no path traversal, no hidden files - Remove strict alphanumeric-only regex that was blocking valid files - Keep URL validation but remove overly restrictive host whitelist - Maintain protection against directory traversal attacks - Still validate file extensions and model types The downloader now works with real-world model filenames while remaining secure against path traversal and other attacks. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>