mirror of
https://github.com/fw876/helloworld.git
synced 2026-12-06 08:02:17 +00:00
Add URL construction for subscription conversion endpoints with Clash target parameters, endpoint sanitization, and dynamic query delimiter handling: - Return original URL when conversion is disabled or required fields are empty - Strip leading/trailing whitespace, NUL bytes, and CR/LF from endpoint - Append `?` or `&` depending on existing query parameters in endpoint - RFC 3986-encode `url`, `config`, `exclude`, and optional `ua` parameters - Map `allow_insecure == "1"` to `scv=true` and set Clash conversion flags