[mw-devel] MW3 r1343 - trunk/src
psycodom at sucs.org
psycodom at sucs.org
Tue Oct 15 13:56:13 BST 2013
Author: psycodom
Date: 2013-10-15 13:56:13 +0100 (Tue, 15 Oct 2013)
New Revision: 1343
Modified:
trunk/src/log.c
Log:
Fixes mwuri logging - puts a missing NULL in the struct uripatt entry for ignoring sucs.org that was missing
also simplifies the broken regex that wasn't catching sucs.org so it works and matches casual references to sucs.org while allowing more complex ones to be caught
Modified: trunk/src/log.c
===================================================================
--- trunk/src/log.c 2013-10-14 20:24:51 UTC (rev 1342)
+++ trunk/src/log.c 2013-10-15 12:56:13 UTC (rev 1343)
@@ -35,7 +35,7 @@
struct uripatt urilist[] = {
{"^http://$", REG_ICASE, NULL, IGNORE, 0},
{"^https://$", REG_ICASE, NULL, IGNORE, 0},
- {"^(.*://)?(www.)?sucs.org\/?$", REG_ICASE, IGNORE, 0}, /* Ignore the SUCS homepage, "sucs.org" rarely refers to the website and we can presume people know it */
+ {"^sucs.org$", REG_ICASE, NULL, IGNORE, 0}, /* Ignore the SUCS homepage, "sucs.org" rarely refers to the website and we can presume people know it */
{"^http://", REG_ICASE, NULL, URL, 0},
{"^https://", REG_ICASE, NULL, URL, 0},
{"^www\\.", REG_ICASE, NULL, URL, 0},
More information about the mw-devel
mailing list