[mw-devel] MW3 r1340 - trunk/src

cmckenna at sucs.org cmckenna at sucs.org
Sun Oct 13 22:54:43 BST 2013


Author: cmckenna
Date: 2013-10-13 22:54:42 +0100 (Sun, 13 Oct 2013)
New Revision: 1340

Modified:
   trunk/src/log.c
Log:
Ignore the SUCS homepage for mwURI purposes. "sucs.org" mentioned on the 
talker is rarely used to refer to the website, and it is safe to presume that 
people using mwURI know of the SUCS homepge and how to find it. All 
other pages in the sucs.org domain are unaffected. 



Modified: trunk/src/log.c
===================================================================
--- trunk/src/log.c	2013-09-16 17:05:36 UTC (rev 1339)
+++ trunk/src/log.c	2013-10-13 21:54:42 UTC (rev 1340)
@@ -35,6 +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 */  
 	{"^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