The uri parser in PerMsgStatus.pm is case senitive.
IE it will recognize a uri like:
  http://bad-site.com/add/garbage.html

but not:
  hTTp://bad-site.com/add/garbage.html

Recently found a FN that contained add site references that
looked like that. None of my uri rules fired, just editing the
spam and changing the "hTTp" to "http" let the uri rules fire.

Line 1683 of PerMsgStatus.pm has:

  my $schemeRE = qr/(?:https?|ftp|mailto|javascript|file)/;

Any reason -not- to make it:

  my $schemeRE = qr/(?:https?|ftp|mailto|javascript|file)/i;


-- 
Dave Funk                                  University of Iowa
<dbfunk (at) engineering.uiowa.edu>        College of Engineering
319/335-5751   FAX: 319/384-0549           1256 Seamans Center
Sys_admin/Postmaster/cell_admin            Iowa City, IA 52242-1527
#include <std_disclaimer.h>
Better is not better, 'standard' is better. B{

Reply via email to