-
Notifications
You must be signed in to change notification settings - Fork 326
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
[4.0.2版 Chrome扩展]当URL上含有中文GBK编码字符时规则无法生效 #103
Comments
能否提供一个测试地址? |
随便在哪个网址上加上【?k=%BF%C6%BB%C3】像这样含有GBK编码的字符串都会出现这种BUG |
我又试了一下,是在匹配类型为域名的情况下会出现这个BUG |
已修复。感谢反馈。 |
感谢修复~~~ |
我已经发布了4.0.3,请更新测试 |
4.0.3没问题了~ 感谢修正~ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
我设了个修改User-Agent的规则:
规则类型:修改请求头
匹配类型:域名
域名:随便
头名称:user-agent
头内容:Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko
在一般情况下,当访问我设定的域名时,这条规则都能正常生效,在开发者工具查看请求头就能发现UA被修改了
但是当url包含了GBK编码的字符串时,这条规则就失效了,比如URL中含有下面的字符串时:
?k=%BF%C6%BB%C3
在开发者工具查看请求头发现还是浏览器本身的UA,并未被修改
The text was updated successfully, but these errors were encountered: