<browserCaps> and NULL UserAgent

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Jason Collins (jcollins.nospam_at_point2.com)
Date: 02/18/04


Date: Wed, 18 Feb 2004 16:34:56 -0600


There are some Requests that occur that have a NULL UserAgent. Some of these
are legitimate crawlers (e.g., Overture's crawler), and I'm attempting to
adjust my <browserCaps> to correctly classify crawlers.

In an attempt to capture browsers with (UserAgent == null), I've added a
case like this:

<filter>
      <case match="^$">
            crawler=true
      </case>
</filter>

But that only seems to trap the empty string (as expected, really).

Does anyone know a way to match the null string?

Thanks,
j