Skip to content

fix(config): preserve profile GEO resource URLs - #88

Merged
SingLinkNetwork merged 1 commit into
fix/android-local-proxy-cifrom
fix/upstream-2215-geo-custom-source
Aug 10, 2026
Merged

fix(config): preserve profile GEO resource URLs#88
SingLinkNetwork merged 1 commit into
fix/android-local-proxy-cifrom
fix/upstream-2215-geo-custom-source

Conversation

@SingLinkNetwork

Copy link
Copy Markdown
Owner

What changed

  • Preserve non-empty geox-url values supplied by a subscription/profile when the client has not explicitly overridden that resource.
  • Keep an explicit client GEO URL higher priority.
  • Safely fill unspecified GEO resources from the built-in defaults.

Root cause

Profile generation replaced every subscription geox-url entry with the client settings map. This silently redirected the initial automatic GEO update to the defaults. A partial settings map could also throw while generating the profile.

Validation

  • Added regression coverage for profile URL preservation, explicit client override, partial settings fallback, and default behavior.
  • flutter test — passed locally.
  • flutter analyze --no-fatal-infos — 0 errors; 10 pre-existing deprecation infos in lib/widgets/theme.dart.
  • Full cross-platform GitHub Actions verification is required before this issue is considered fixed.

Tracks #87; source report: chen08209/FlClash#2215.

@SingLinkNetwork
SingLinkNetwork marked this pull request as ready for review August 10, 2026 11:33
@SingLinkNetwork
SingLinkNetwork merged commit 3c28d7e into fix/android-local-proxy-ci Aug 10, 2026
63 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant