-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Edward Z. Yang wrote:
Mark Clements wrote:
Does a similar behaviour occur, if you have
badsite.com blacklisted and
goodsite.com whitelisted? i.e. would
goodsite.com.badsite.com work? If so
that is a lot more serious!
Yes. Try it yourself.
As I mentioned before, this is presumably because you're using a
straight regex, with no anchor at the end, so it'll match subsets of a
hostname.
It's debatable whether that's actually ever desirable behavior, though.
It might be wise to assume that a whitelist/blacklist entry with no '/'
is meant to anchor at the end of the hostname and slip that in silently.
- -- brion vibber (brion @
pobox.com)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (Darwin)
Comment: Using GnuPG with Mozilla -
http://enigmail.mozdev.org
iD8DBQFFa2CgwRnhpk1wk44RAmknAKDFFxSOQDyo3ta8QndQnIb3caQLMwCfRPE2
I8EDliV81+hrCjFDXNSUnjk=
=vrWm
-----END PGP SIGNATURE-----