Преглед изворни кода

fix for malformed id strings

pull/30/head
devgs пре 13 година
родитељ
комит
640830dab1
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1
    1
      ngx_http_uploadprogress_module.c

+ 1
- 1
ngx_http_uploadprogress_module.c Прегледај датотеку

@@ -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…
Откажи
Сачувај