On Wed, May 25, 2022 at 08:16:23AM +0300, Henrik K wrote:
> On Tue, May 24, 2022 at 03:12:33PM -0400, Kevin A. McGrail wrote:
> > While you may say it's a stretch, it is the best list I know of that exists 
> > and
> > we've kept it up adding additions and removing things when needed.  
> 
> I think it would be generally helpful to mark and date any new additions.
> 
> Anyway, no one has commented about committing to stock rules?  Atleast no
> objections are heard, so I'll proceed to whip up something.

Committed rules/25_url_shortener.cf.  Please note the documentation on how
to update the list (url_shortener + regex made from it).  All rules are now
modified to use __URL_SHORTENER.

There's still SHORTENED_URL_SRC and SHORTENED_URL_HREF which use hardcoded
lists in regex.  *SRC one seems to be good S/O, dunno if it should be
updated to use the generated shortener regex also, maybe the shortener regex
should be turned into replacetags to be commonly usable.

Not sure why this exists and why it's nopublish?  Shouldn't it be removed or
published properly in 25_url_shortener.cf?  Not sure if it has any value as
a general rule anyway.

sandbox/khopesh/20_khop_experimental.cf:meta     URL_SHORTENER  __URL_SHORTENER
sandbox/khopesh/20_khop_experimental.cf:describe URL_SHORTENER  Has a shortened 
URL (can hide a blacklisted link)
sandbox/khopesh/20_khop_experimental.cf:tflags   URL_SHORTENER  nopublish

Reply via email to