Skip to content

fix: 修复 Surge 模块中不规范的 hostname 写法 - #75

Open
X1A0CA1 wants to merge 1 commit into
Yu9191:mainfrom
X1A0CA1:main
Open

fix: 修复 Surge 模块中不规范的 hostname 写法#75
X1A0CA1 wants to merge 1 commit into
Yu9191:mainfrom
X1A0CA1:main

Conversation

@X1A0CA1

@X1A0CA1 X1A0CA1 commented Jul 31, 2026

Copy link
Copy Markdown

由于 hostname 是从前向后匹配,假如原有配置包含了 -*.apple.com 等包含了通配符的排除配置,使用 %APPEND% 在末尾插入现有配置会导致永远无法 MITM 配置中的域名。

所以改为 %INSERT% gs-loc.apple.com, gs-loc-cn.apple.com

由于 hostname 是从前向后匹配。假如原有配置包含了 `-*.apple.com` 这种域名,使用 %APPEND% 在末尾插入现有配置会
导致永远无法 MITM 配置中的域名。

所以改为 `%INSERT%`。
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