salarcode / SmartProxy

Firefox/Chrome browser extension. SmartProxy will automatically enable/disable proxy for the sites you visit, based on customizable patterns.
https://addons.mozilla.org/en-US/firefox/addon/smartproxy/
GNU General Public License v3.0
1.86k stars 113 forks source link

Match www.example.com when rules is example.com #359

Closed YohoYang closed 6 months ago

YohoYang commented 6 months ago

Description

Like the gfwlist rules (base64 coded), it contains lots domains not included “www”. This results in domain names in many rules not being correctly matched because the www part of the domain name is usually omitted.

Any additional context

Like v2fly.org is in gfwlist rules, but visit the site will jump to www.v2fly.org, then get a timeout error because not match on www.v2fly.org. Hope to match www and also root domain.

salarcode commented 6 months ago

This is a bug Duplicate of #365

salarcode commented 6 months ago

Is it a bug?

YohoYang commented 6 months ago

Is it a bug?

I updated 1.4.6 and it now work find. Maybe it's bug. But I am Firefox.