salarcode/SmartProxy

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

Closed this issue · 3 comments

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.

This is a bug
Duplicate of #365

Is it a bug?

Is it a bug?

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