cztomczak / cefpython

Python bindings for the Chromium Embedded Framework (CEF)
Other
3.08k stars 473 forks source link

Cookie.SetDomain() failed, invalid domain: {0} #644

Open wangdongdong520 opened 2 years ago

wangdongdong520 commented 2 years ago

when i upgrade cefpython3==66.1 , then i find SetDomain error with “Cookie.SetDomain() failed, invalid domain: {0}”。so you add regexp test domin is right,but regexp is not perfect 。 It shouldn't be /^(?:a-z0-9?.)[a-z0-9][a-z0-9-_]{0,61}[a-z]$/ it should support IP

cztomczak commented 2 years ago

Can you send a pull request? Thank you.

wangdongdong520 commented 2 years ago

image