head	1.2;
access;
symbols
	RELEASE_5_EOL:1.1
	RELEASE_7_0_0:1.1
	RELEASE_6_3_0:1.1
	PRE_XORG_7:1.1
	RELEASE_4_EOL:1.1
	RELEASE_6_2_0:1.1
	RELEASE_6_1_0:1.1
	RELEASE_5_5_0:1.1
	RELEASE_6_0_0:1.1
	RELEASE_5_4_0:1.1
	RELEASE_4_11_0:1.1
	RELEASE_5_3_0:1.1
	RELEASE_4_10_0:1.1
	RELEASE_5_2_1:1.1
	RELEASE_5_2_0:1.1
	RELEASE_4_9_0:1.1;
locks; strict;
comment	@# @;


1.2
date	2008.07.17.14.08.56;	author dinoex;	state dead;
branches;
next	1.1;

1.1
date	2003.07.08.03.28.01;	author dinoex;	state Exp;
branches;
next	;


desc
@@


1.2
log
@- update to 2.20-01
@
text
@--- webalizer.c	2002-04-16 18:11:31.000000000 -0400
+++ webalizer.c.new	2003-07-07 12:35:45.000000000 -0400
@@@@ -688,6 +688,14 @@@@
          /* un-escape URL */
          unescape(log_rec.url);
 
+         /* strip query portion of cgi scripts */
+         cp1 = log_rec.url;
+         while (*cp1 != '\0')
+           if (!isurlchar(*cp1)) { *cp1 = '\0'; break; }
+           else cp1++;
+         if (log_rec.url[0]=='\0')
+           { log_rec.url[0]='/'; log_rec.url[1]='\0'; }
+
          /* check for service (ie: http://) and lowercase if found */
          if ( (cp2=strstr(log_rec.url,"://")) != NULL)
          {
@@@@ -699,14 +707,6 @@@@
             }
          }
 
-         /* strip query portion of cgi scripts */
-         cp1 = log_rec.url;
-         while (*cp1 != '\0')
-           if (!isurlchar(*cp1)) { *cp1 = '\0'; break; }
-           else cp1++;
-         if (log_rec.url[0]=='\0')
-           { log_rec.url[0]='/'; log_rec.url[1]='\0'; }
-
          /* strip off index.html (or any aliases) */
          lptr=index_alias;
          while (lptr!=NULL)
@


1.1
log
@- add patch lowercase-url-bug.patch from MASTER_SITTE
@
text
@@

