Explorar el Código

fix for malformed id strings

pull/30/head
devgs hace 13 años
padre
commit
640830dab1
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      ngx_http_uploadprogress_module.c

+ 1
- 1
ngx_http_uploadprogress_module.c Ver fichero

@@ -916,8 +916,8 @@ ngx_http_reportuploads_handler(ngx_http_request_t * r)
916 916
                 r->headers_out.content_length_n += b->last - b->pos;
917 917
 
918 918
                 p1 = p2 + 1;
919
-                offs += len + 1;
920 919
             }
920
+            offs += len + 1;
921 921
         }
922 922
         ngx_free(id);
923 923
         if(!p_chain_end) // Malformed id

Loading…
Cancelar
Guardar