Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

默认规则导致 codelabs.developers.google.com 无法访问,该怎么修改啊 #182

Open
Vixb1122 opened this issue Sep 1, 2023 · 2 comments

Comments

@Vixb1122
Copy link

Vixb1122 commented Sep 1, 2023

No description provided.

@jingjingxyk
Copy link
Contributor

jingjingxyk commented Sep 1, 2023

@Vixb1122 我看了下,这是bug,规则 ID=17这条规则,匹配过于宽泛。规则所在行:

"urlFilter": "developers.google.com",

解决办法:

方法一:
修改扩展源码:默认规则 https://github.com/justjavac/ReplaceGoogleCDN/blob/1171dfeca7a00c3b9aa5d9d80aed26b7fd15418b/extension/rules/rules_redirect_main.json

"urlFilter": "developers.google.com" 变更为 "urlFilter": "://developers.google.com"

image

方法二:优先级覆盖(我正在尝试),待反馈

@jingjingxyk
Copy link
Contributor

解决思路: 添加scheme 匹配,收缩匹配范围 : #184

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

No branches or pull requests

2 participants