Apache-Talk @lexa.ru 

Inet-Admins @info.east.ru 

Filmscanners @halftone.co.uk 

Security-alerts @yandex-team.ru 

nginx-ru @sysoev.ru 


   


   


   















      :: nginx-ru
Nginx-ru mailing list archive (nginx-ru@sysoev.ru)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SSI 0.3.50



     SSI  0.3.50.


 
http://sysoev.ru
--- src/http/modules/ngx_http_ssi_filter_module.c       Wed Jun 28 15:50:22 2006
+++ src/http/modules/ngx_http_ssi_filter_module.c       Fri Jun 30 00:58:07 2006
@@ -942,7 +942,9 @@
         case ssi_sharp_state:
             switch (ch) {
             case '#':
-                ctx->saved = 0;
+                if (p - ctx->pos < 4) {
+                    ctx->saved = 0;
+                }
                 looked = 0;
                 state = ssi_precommand_state;
                 break;


 




Copyright © Lexa Software, 1996-2009.