carsonyl / pypac

Find and use proxy auto-config (PAC) files with Python and Requests.
https://pypac.readthedocs.io
Apache License 2.0
71 stars 18 forks source link

dnsDomainIs matching not correct #57

Closed chr7 closed 3 years ago

chr7 commented 3 years ago

It seems that the pattern matching done by dnsDomainIs (in file parser_functions.py) is not correct.

For example, dsnDomainIs('www.example.com', 'example.com') returns False while it should return True.