/[packages]/cauldron/squidguard/current/SOURCES/squidGuard-1.4-specialchars.diff
ViewVC logotype

Contents of /cauldron/squidguard/current/SOURCES/squidGuard-1.4-specialchars.diff

Parent Directory Parent Directory | Revision Log Revision Log


Revision 30336 - (show annotations) (download)
Fri Jan 21 20:41:07 2011 UTC (13 years, 3 months ago) by dlucio
File size: 590 byte(s)
imported package squidguard
1 --- squidGuard-1.4/src/sg.l 2009-11-23 05:04:09.000000000 +0100
2 +++ squidGuard-1.4.dlucio/src/sg.l 2009-11-23 05:01:30.000000000 +0100
3 @@ -189,7 +189,7 @@
4 }
5 <STRING_STATE>. { if (string_buf_ptr-string_buf < sizeof(string_buf)-1) *string_buf_ptr++ = yytext[1]; }
6
7 -[a-zA-Z\/][a-zA-Z0-9/_\-\.\/\:\%\+\?=&]* {yylval.string = yytext ; return WORD;}
8 +[a-zA-Z0-9\/][a-zA-Z0-9/_\.\/\:\%\+\?=&!&\(\)]* {yylval.string = yytext ; return WORD;}
9 s@(([^@}]|\\@|\\\})+)@(([^@}]|\\@|\\\})+)@[girR]* {yylval.string = yytext; return SUBST;}
10 [ \t]+ ;
11 \n {lineno++;}

  ViewVC Help
Powered by ViewVC 1.1.30