瀏覽代碼

fix for malformed id strings

pull/30/head
devgs 14 年之前
父節點
當前提交
640830dab1
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      ngx_http_uploadprogress_module.c

+ 1
- 1
ngx_http_uploadprogress_module.c 查看文件

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

Loading…
取消
儲存