Commit Graph
2 Commits
Author SHA1 Message Date
feisan 781f06a8ed fix: preserve base64 passwords with embedded '=' in Surge SS parser
split(configs[i], "=") splits on ALL '=' characters, truncating
SS 2022-blake3 passwords that contain base64 padding (==) +
colon-delimited IMK. Replaced with split_first() which splits
only on the first '=', keeping the full password intact.

- Added split_first() utility to string.h/string.cpp
- Replaced all 15 key=value split() calls in subparser.cpp
- Verified with Docker build + Surge/Clash output test
2026-06-02 09:49:05 +08:00
feisan 3c640b1976 feat: add shadow-tls filtering and AnyTLS Surge INI import
- Filter shadow-tls nodes by setting port to '0' (triggers existing skip logic)
- Add AnyTLS proxy type support in Surge INI-style config import
- Supports password, sni, skip-cert-verify, fingerprint, tls13 fields
2026-05-26 13:48:05 +08:00