aboutsummaryrefslogtreecommitdiff
path: root/src/http/modules/ngx_http_secure_link_module.c
Commit message (Collapse)AuthorAge
* Changed complex value slots to use NGX_CONF_UNSET_PTR.Maxim Dounin2021-05-06
| | | | | | | | | | | With this change, it is now possible to use ngx_conf_merge_ptr_value() to merge complex values. This change follows much earlier changes in ngx_conf_merge_ptr_value() and ngx_conf_set_str_array_slot() in 1452:cd586e963db0 (0.6.10) and 1701:40d004d95d88 (0.6.22), and the change in ngx_conf_set_keyval_slot() (7728:485dba3e2a01, 1.19.4). To preserve compatibility with existing 3rd party modules, both NULL and NGX_CONF_UNSET_PTR are accepted for now.
* Secure link: fixed stack buffer overflow.Roman Arutyunyan2017-08-22
| | | | | | | | | | | When secure link checksum has length of 23 or 24 bytes, decoded base64 value could occupy 17 or 18 bytes which is more than 16 bytes previously allocated for it on stack. The buffer overflow does not have any security implications since only one local variable was corrupted and this variable was not used in this case. The fix is to increase buffer size up to 18 bytes. Useless buffer size initialization is removed as well.
* Secure_link: fixed configuration inheritance.Ruslan Ermilov2013-01-28
| | | | | | The "secure_link_secret" directive was always inherited from the outer configuration level even when "secure_link" and "secure_link_md5" were specified on the inner level.
* Copyright updated.Maxim Konovalov2012-01-18
|
* fix typoIgor Sysoev2010-09-13
|
* discard "secure_link_expires on|off"Igor Sysoev2010-09-06
|
* new ngx_http_secure_link_module with secure_link, secure_link_md5, andIgor Sysoev2010-09-02
| | | | secure_link_expires
* return NULL instead of NGX_CONF_ERROR on a create conf failureIgor Sysoev2009-06-02
|
* allow short secure linksIgor Sysoev2008-10-21
|
* ngx_http_secure_link_moduleIgor Sysoev2008-09-27