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

2.9.70 版本rule(规则)优先级发生变化,在之前版本配置的规则失效 #1079

Closed
Fredida opened this issue May 14, 2024 · 3 comments

Comments

@Fredida
Copy link

Fredida commented May 14, 2024

以下两条规则,配置顺序如下:
/https://domain.com/path\d\d/filename file://X:\dir1\filename
https://domain.com file://X:\dir2
在2.9.69版本中会安从上到下优先级依次变低的顺序进行匹配
而更新至2.9.70版本后本在最前优先级更高的正则规则被忽略,直接匹配了在下面的全domain规则,导致大量在2.9.69配置的规则失效。

@Fredida
Copy link
Author

Fredida commented May 14, 2024

抱歉,又经过一番测试,发现是因为在Settings中选取了Back rules first导致的越下的规则越优先。

可以考虑修改一下描述吗?读到Back rules first时脑海中先想到的意思是Back(up) rules first,以为选取该项后每次修改规则会自动备份之前的旧规则。

@avwo
Copy link
Owner

avwo commented May 15, 2024

Back rules first 的意思是后面的规则优先

@avwo
Copy link
Owner

avwo commented May 21, 2024

可以重新安装,新版本加强了提醒

@avwo avwo closed this as completed May 21, 2024
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