Article View: news.software.nntp
Article #82848Re: Cleanfeed question - HTTP type URLs
From: D. Stussy
Date: Thu, 04 Mar 2010 21:51
Date: Thu, 04 Mar 2010 21:51
51 lines
3072 bytes
3072 bytes
"Steve Crook" <steve@mixmin.net> wrote in message news:slrnhov4ll.6dj.steve@news.mixmin.net... > On Wed, 3 Mar 2010 16:36:24 -0800, D. Stussy wrote in > Message-Id: <hmmvaq$kfh$1@snarked.org>: > > Shouldn't we have "wwws?" in there? Some SSL'ed sites use a "wwws." > > prefix/hostname. > > I've seen others that use a "www2." prefix. Then there are all the ones > like blog.foo.com and wiki.foo.com. I think the key factor is what the > client interprets as being a url. > > I posted <slrnhov2ok.jsj.steve@fleegle.mixmin.net> to > alt.testing.testing to see what various clients consider to be a url. > > * slrn appears to only highlight urls with an http:// prefix > * Thunderbird makes http:// and www. prefixs clickable but nothing else > * XNews is identical to Thunderbird > > Based on this, I'm inclined to think the current regex is correct. > > > Also, for logical flow, shouldn't we reverse the two parts? > > > > $HTTP = '(?:https?:\/\/|wwws?\.)'; makes more sense... > > No problem, I'll switch it around. In thinking about the "www#" type case: $HTTP = '(?:https?:\/\/|www[0-9s]?\.)'; ? > > Even rarer, some sites use "web" instead of "www". Has that been seen in > > Usenet spam? > > Not by me. It's also not treated as a valid URL by the clients I've > tested, (without an http:// prefix). I also don't recall seeing it in any spam, but I don't regularly read spam reports for spam which is denied. I only note that I have occasionally seen a site or two use it. > > For the "stealth URLs", use of IP address should also consider > > bracketed-IP-addresses, and I don't think we're checking for that. Again, > > has this been observed? > > > > http://127.0.0.1/ technically isn't valid. http://[127.0.0.1]/ is. > > Yes, this also needs expanding to deal with IPv6 syntax. I haven't seen > any instances of it yet but no doubt the time will come.
Technical Details
Message-ID:
<hmpa0e$re6$1@snarked.org>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!num2.nntp.dca.giganews.com!num1.nntp.dca.giganews.com!number.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!news.snarked.org!not-for-mailReferences:
<hmmvaq$kfh$1@snarked.org> <slrnhov4ll.6dj.steve@news.mixmin.net>Show Full Headers
Complete Article Headers
Message-ID: <hmpa0e$re6$1@snarked.org> Subject: Re: Cleanfeed question - HTTP type URLs Date: Thu, 4 Mar 2010 13:51:12 -0800 From: "D. Stussy" <spam+newsgroups@bde-arc.ampr.org> References: <hmmvaq$kfh$1@snarked.org> <slrnhov4ll.6dj.steve@news.mixmin.net> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!num2.nntp.dca.giganews.com!num1.nntp.dca.giganews.com!number.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!news.snarked.org!not-for-mail Newsgroups: news.software.nntp Lines: 51 Reply-To: "D. Stussy" <replies@newsgroups.kd6lvw.ampr.org> NNTP-Posting-Host: pool-71-118-48-27.lsanca.dsl-w.verizon.net X-Trace: snarked.org 1267739470 28102 71.118.48.27 (4 Mar 2010 21:51:10 GMT) X-Complaints-To: newsmaster+complaints@snarked.org NNTP-Posting-Date: Thu, 4 Mar 2010 21:51:10 +0000 (UTC) X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1478 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1478