SET(sarg_VERSION 2)
SET(sarg_REVISION 2)
SET(sarg_BUILD "7")
-SET(sarg_BUILDDATE "Jan-27-2010")
+SET(sarg_BUILDDATE "Jan-28-2010")
INCLUDE(AddFileDependencies)
INCLUDE(CheckIncludeFile)
SARG ChangeLog
-Jan-27-2010 Version 2.2.7
+Jan-28-2010 Version 2.2.7
- Extra compile and run time protection (FORTIFY_SOURCE) fixed in configure.
- Use tabulations as columns separator in intermediary files to avoid problems when a field of the log contains a space.
- Input log file type detection partly rewritten to clearly distinguish which type is processed where.
- Fixed empty entries in squidGuard log when the URL doesn't start with protocol://.
- Fixed regressions in creation and reading of a sarg parsed log (thanks to Joao Alves).
- Does not report URLs consisting of only a host name ending with .com as a downloaded file.
+ - Mangle the $ and @ signs in user ID to make the resulting file name valid in shell commands.
Jan-06-2010 Version 2.2.6.1
- Remove unnecessary dependency on off_t.
str=siteind;
for(z1=0; str[z1]; z1++) {
if(str[z1]=='?' || str[z1]=='-' || str[z1]=='.' || str[z1]==':' || str[z1]=='/' || str[z1]=='\\' || str[z1]=='*' ||
- str[z1]=='\'' || str[z1]=='\"' || str[z1]=='$')
+ str[z1]=='\'' || str[z1]=='\"' || str[z1]=='$' || str[z1]=='@')
str[z1]='_';
}
sprintf(href2,"<a href=\"tt%s-%s.html\"><img src=\"%s/datetime.png\" border=\"0\" title=\"%s %s\" alt=\"T\"></a>",usuario,siteind,tmp6,ltext110,text[55]);
-#define VERSION PACKAGE_VERSION" Jan-27-2010"
+#define VERSION PACKAGE_VERSION" Jan-28-2010"
#define PGM PACKAGE_NAME
#define URL "http://sarg.sourceforge.net"
for(str=user; *str; str++) {
if(*str=='.') dotinuser++;
- if(*str=='?' || *str=='.' || *str==':' || *str=='/' || *str=='\\' || *str=='\'')
+ if(*str=='?' || *str=='.' || *str==':' || *str=='/' || *str=='\\' || *str=='\'' || *str=='$' || *str=='@' ||
+ *str=='\"' || *str=='*')
*str='_';
}
strcpy(siteind,accurl);
for(str=siteind; *str; str++) {
if(*str=='?' || *str=='-' || *str=='.' || *str==':' || *str=='/' || *str=='\\' || *str=='*' ||
- *str=='\'' || *str=='\"' || *str=='$')
+ *str=='\'' || *str=='\"' || *str=='$' || *str=='@')
*str='_';
}
sprintf(arqtt,"%s/%s",dirname,accuser);