On 2011/11/27 15:05, Mahmoud Khonji wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 11/28/2011 01:26 AM, jdow wrote:
Which browser(s) treat addresses of the form
178.000235.0000150.000372 as actual addresses? That seems like a
serious fault in the browsers.

{^_^}

adding to that: dotted hex IPv4 0x12.0xab.0xcd.0xef. single hex number
0x12abcdef, or a single decimal number. these used to work on Firefox
3.x (at least - may be they changed it in more recent releases).

but i don't think that it is a serious fault. a simple pattern match
will detect it.

i personally like rare IPv4 URLs as considering an email with rare
IPv4 URLs as spam results in 0% false positives :). while considering
a dotted decimal IPv4 as spam results in  3-4% false positives. (stats
from my data set).

- --
Regards,
Mahmoud Khonji
PGP Key: 0x92584ECA

That is what I'd expect. So I'd give the illegal versions "guaranteed
spam" scores unless they are part of a munged. If they are munged they
should get a point or two score. The pure decimal dotted quad should
have a point or two score on it.

(And thanks for pointing out for people that the other variants are
legal in C but not in URLs. The problem with RFCs is that you must be
reading the correct one for it all to work.)

{^_^}

Reply via email to