Skip to content

fix(theme): default remote install localhost policy to kDebugMode - #403

Merged
ZhuchkaTriplesix merged 1 commit into
devfrom
issue/399-theme-localhost-default
Jul 27, 2026
Merged

fix(theme): default remote install localhost policy to kDebugMode#403
ZhuchkaTriplesix merged 1 commit into
devfrom
issue/399-theme-localhost-default

Conversation

@ZhuchkaTriplesix

Copy link
Copy Markdown
Member

Summary

  • Fix ThemeRemoteInstallService constructor default: allowLocalhostInDebug: kDebugMode instead of true
  • Release builds no longer silently allow localhost/private HTTPS theme URLs
  • Add regression tests for release-policy enforcement

Closes #399

Test plan

  • flutter test test/core/theme/theme_remote_install_service_test.dart
  • flutter test test/core/theme/theme_remote_install_policy_test.dart

Closes #399 — release builds no longer allow localhost/private IPs
via ThemeRemoteInstallService constructor default.
@github-actions github-actions Bot added bug Something isn't working theme Theming, colors, VS Code themes labels Jul 27, 2026
@github-actions github-actions Bot added this to the Theme system milestone Jul 27, 2026
@ZhuchkaTriplesix
ZhuchkaTriplesix merged commit e87145a into dev Jul 27, 2026
4 checks passed
@ZhuchkaTriplesix ZhuchkaTriplesix self-assigned this Jul 27, 2026
@ZhuchkaTriplesix
ZhuchkaTriplesix deleted the issue/399-theme-localhost-default branch July 27, 2026 20:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working theme Theming, colors, VS Code themes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant