forked from fdintino/nginx-upload-module
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Changelog
34 lines (31 loc) · 1.78 KB
/
Changelog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
Version 2.0.4
* Fixed bug: location configuration of upload_set_form_field and upload_pass_form_field
was not inheritable from server configuration.
* Added feature: directive upload_aggregate_form_field to pass aggragate properties
of a file like file size, MD5 and SHA1 sums to backend. MD5 and SHA1 sums are calculated
on request for file content. When no calculation is requested, additional memory
and CPU are not used. Calculation could be requested via specifying variables
$upload_file_md5, $upload_file_md5_uc, $upload_file_sha1 and $upload_file_sha1_uc.
* Fixed bug: missing CRLF at the end of resulting body.
* Change: optimized out some unnecessary memory allocations and zeroeing.
Version 2.0.3
* upload_store directive was not able to receive more than one argument.
As a result no hashed dirs for file uploads were possible.
* upload_store_access directive did not work at all. Permissions were
defaulted to user:rw. Thanks to Brian Moran.
* In case of any errors at the last chunk of request body only 500 Internal Server Error
was generated intead of 400 Bad Request and 503 Service Unavailable.
* Fixed copyrights for temporary file name generation code
* Fixed compilation issue on 0.6.32. Thanks to Tomas Pollak.
* Added directive upload_pass_form_field to specify fields
to pass to backend. Fixes security hole found by Brian Moran.
Version 2.0.2
* Fixed crash in logging filename while aborting upload
* Added feasible debug logging
* Added support for variables to generate form fields
in resulting request body
* Added missing logging of errno after write failures
* Simplified upload abortion logic; simply discarding
already added fields
* Now returning explicit error code after script failures
to be able to generate Internal server error