or maybe it should be if not (domain.endswith(server) or server.endswith(domain)):
so that you dont get this error either ! Error: COOKIE ERROR: Cookie domain ".example.com" doesn':wqt match request host "safebrowsing.clients.example.com" -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/732058 Title: does not correctly check cookie domain -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs