fix: reject empty clash proxy groups#378
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
WayneWu98
added a commit
to WayneWu98/sublink-worker
that referenced
this pull request
May 7, 2026
Port from upstream 7Sageer/sublink-worker@b51fa570. validateProxyGroups now throws InvalidConfigError when a url-test/fallback group has no proxies and no providers, instead of silently filling with all available nodes. The /clash endpoint returns HTTP 400 via existing handleError path. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
WayneWu98
added a commit
to WayneWu98/sublink-worker
that referenced
this pull request
May 7, 2026
Six fixes ported from upstream 7Sageer/sublink-worker (none of which affect the Snell support added in v2.10.0): - 7Sageer#371 custom rule proxy choices - 7Sageer#382 xray subscription-userinfo - subscription decoding (no spurious base64 decode of plain payloads) - 7Sageer#378 reject empty Clash url-test/fallback groups - 7Sageer#380 sing-box 1.11+ schema (no legacy block outbound, reject route action) - 7Sageer#379 stable hash-based auto provider names Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
proxy group[0]: ⚡ 自动选择: use or proxies missing** 是一个**非常确定**的配置错误。 #277Testing