| Age | Commit message (Collapse) | Author | Files | Lines | |
|---|---|---|---|---|---|
| 2019-01-17 | Added the ngx_http_test_required_predicates() function. | Vladimir Homutov | 1 | -0/+28 | |
| In contrast to ngx_http_test_predicates(), it requires all values to be non-empty and not equal to "0". | |||||
| 2018-05-07 | Silenced -Wcast-function-type warnings (closes #1546). | Sergey Kandaurov | 1 | -5/+8 | |
| Cast to intermediate "void *" to lose compiler knowledge about the original type and pass the warning. This is not a real fix but rather a workaround. Found by gcc8. | |||||
| 2017-03-28 | Fixed ngx_open_cached_file() error handling. | Sergey Kandaurov | 1 | -0/+6 | |
| If of.err is 0, it means that there was a memory allocation error and no further logging and/or processing is needed. The of.failed string can be only accessed if of.err is not 0. | |||||
| 2017-03-22 | Unified error messages about duplicate directives. | Ruslan Ermilov | 1 | -1/+1 | |
| 2016-12-24 | Win32: support 64-bit compilation with MSVC. | Maxim Dounin | 1 | -2/+2 | |
| There are lots of C4244 warnings (conversion from 'type1' to 'type2', possible loss of data), so they were disabled. The same applies to C4267 warnings (conversion from 'size_t' to 'type', possible loss of data), most notably - conversion from ngx_str_t.len to ngx_variable_value_t.len (which is unsigned:28). Additionally, there is at least one case when it is not possible to fix the warning properly without introducing win32-specific code: recv() on win32 uses "int len", while POSIX defines "size_t len". The ssize_t type now properly defined for 64-bit compilation with MSVC. Caught by warning C4305 (truncation from '__int64' to 'ssize_t'), on "cutoff = NGX_MAX_SIZE_T_VALUE / 10" in ngx_atosz()). Several C4334 warnings (result of 32-bit shift implicitly converted to 64 bits) were fixed by adding explicit conversions. Several C4214 warnings (nonstandard extension used: bit field types other than int) in ngx_http_script.h fixed by changing bit field types from uintptr_t to unsigned. | |||||
| 2016-07-06 | Fixed regex captures handling without PCRE. | Vladimir Homutov | 1 | -6/+8 | |
| If PCRE is disabled, captures were treated as normal variables in ngx_http_script_compile(), while code calculating flushes array length in ngx_http_compile_complex_value() did not account captures as variables. This could lead to write outside of the array boundary when setting last element to -1. Found with AddressSanitizer. | |||||
| 2016-03-31 | Fixed logging. | Sergey Kandaurov | 1 | -1/+1 | |
| 2016-03-30 | Style. | Ruslan Ermilov | 1 | -2/+2 | |
| 2013-10-18 | Style. | Maxim Dounin | 1 | -1/+1 | |
| 2013-08-20 | Style improved after 12dd27b74117. | Maxim Dounin | 1 | -8/+5 | |
| 2013-08-20 | Backed out f1a91825730a and 7094bd12c1ff. | Maxim Dounin | 1 | -6/+1 | |
| While ngx_get_full_name() might have a bit more descriptive arguments, the ngx_conf_full_name() is generally easier to use when parsing configuration and limits exposure of cycle->prefix / cycle->conf_prefix details. | |||||
| 2013-08-06 | Replaced ngx_conf_full_name() with ngx_get_full_name(). | Valentin Bartenev | 1 | -1/+6 | |
| The ngx_get_full_name() function takes more readable arguments list. | |||||
| 2013-08-06 | Fixed memory leaks in the root and auth_basic_user_file directives. | Valentin Bartenev | 1 | -1/+5 | |
| If a relative path is set by variables, then the ngx_conf_full_name() function was called while processing requests, which causes allocations from the cycle pool. A new function that takes pool as an argument was introduced. | |||||
| 2012-12-06 | Allow the complex value to be defined as an empty string. | Ruslan Ermilov | 1 | -7/+3 | |
| This makes conversion from strings to complex values possible without the loss of functionality. | |||||
| 2012-05-11 | Rewrite: fixed escaping and possible segfault (ticket #162). | Maxim Dounin | 1 | -1/+0 | |
| The following code resulted in incorrect escaping of uri and possible segfault: location / { rewrite ^(.*) $1?c=$1; return 200 "$uri"; } If there were arguments in a rewrite's replacement string, and length was actually calculated (due to duplicate captures as in the example above, or variables present), the is_args flag was set and incorrectly copied after length calculation. This resulted in escaping applied to the uri part of the replacement, resulting in incorrect escaping. Additionally, buffer was allocated without escaping expected, thus this also resulted in buffer overrun and possible segfault. | |||||
| 2012-02-27 | Disable symlinks: initialization of the "disable_symlinks" field in | Valentin Bartenev | 1 | -3/+6 | |
| ngx_open_file_info_t moved to a separate function. This is preparation for the "from=" parameter implementation of the "disable_symlinks" directive. | |||||
| 2012-02-13 | Support for disable_symlinks in various modules. | Andrey Belov | 1 | -0/+3 | |
| 2012-01-18 | Copyright updated. | Maxim Konovalov | 1 | -0/+1 | |
| 2011-10-12 | Clear old Location header (if any) while adding a new one. | Maxim Dounin | 1 | -0/+2 | |
| This prevents incorrect behaviour when another redirect is issued within error_page 302 handler. | |||||
| 2011-05-03 | test zero value in an "if" directive consistently with predicates fixed in r3894 | Igor Sysoev | 1 | -1/+1 | |
| thanks to Maxim Dounin | |||||
| 2011-04-15 | values starting with '0' were incorrectly assumed to be false | Igor Sysoev | 1 | -1/+1 | |
| patch by Maxim Dounin | |||||
| 2011-04-12 | use memmove() in appropriate places | Igor Sysoev | 1 | -1/+1 | |
| 2010-09-13 | fix typo | Igor Sysoev | 1 | -1/+1 | |
| 2010-09-02 | new ngx_http_secure_link_module with secure_link, secure_link_md5, and | Igor Sysoev | 1 | -0/+36 | |
| secure_link_expires | |||||
| 2010-07-14 | ngx_http_test_predicates(), ngx_http_set_predicate_slot() | Igor Sysoev | 1 | -0/+70 | |
| 2010-06-18 | return code text | Igor Sysoev | 1 | -6/+9 | |
| 2010-05-14 | ngx_str_set() and ngx_str_null() | Igor Sysoev | 1 | -2/+1 | |
| 2009-11-16 | fix captures in "rewrite", the bug had been introduced in r3326 | Igor Sysoev | 1 | -3/+3 | |
| 2009-11-16 | regex named captures | Igor Sysoev | 1 | -23/+3 | |
| 2009-09-30 | read_ahead | Igor Sysoev | 1 | -0/+1 | |
| 2009-09-25 | low ENAMETOOLONG logging level | Igor Sysoev | 1 | -1/+4 | |
| 2009-07-14 | ngx_http_set_exten() is always successful since 0.3.46 | Igor Sysoev | 1 | -5/+1 | |
| 2009-06-02 | fix return value on failure | Igor Sysoev | 1 | -1/+1 | |
| 2009-04-27 | -p and --prefix= | Igor Sysoev | 1 | -4/+5 | |
| 2009-04-27 | *) of.test_only to not open file if only stat() is enough | Igor Sysoev | 1 | -1/+2 | |
| *) of.failed to return exact name of failed syscall | |||||
| 2009-03-27 | rename ngx_http_scrip_flush_complex_value() | Igor Sysoev | 1 | -2/+2 | |
| to ngx_http_script_flush_complex_value() | |||||
| 2009-03-27 | fix plain text values using relative path in ngx_http_complex_value(), | Igor Sysoev | 1 | -5/+5 | |
| this fixes the auth_basic_user_file bug introduced in r2589 | |||||
| 2009-03-22 | ngx_http_script_flush_complex_value() | Igor Sysoev | 1 | -10/+293 | |
| ngx_http_complex_value() ngx_http_compile_complex_value() | |||||
| 2009-03-18 | split ngx_http_script_compile() | Igor Sysoev | 1 | -159/+234 | |
| 2009-03-06 | now regex captures are per-request entities | Igor Sysoev | 1 | -68/+102 | |
| 2009-02-10 | fix /?new=arg?old=arg redirect case | Igor Sysoev | 1 | -4/+15 | |
| 2008-12-11 | fix r2394 | Igor Sysoev | 1 | -14/+4 | |
| 2008-12-10 | fix debug logging | Igor Sysoev | 1 | -17/+46 | |
| 2008-09-01 | escape a query string characters taken from URI while rewrite | Igor Sysoev | 1 | -0/+1 | |
| 2008-07-31 | fix conflicting names "true" and "false" | Igor Sysoev | 1 | -21/+21 | |
| 2008-07-30 | directio | Igor Sysoev | 1 | -0/+1 | |
| 2008-06-26 | ngx_memzero() ngx_open_file_info_t | Igor Sysoev | 1 | -2/+2 | |
| 2008-06-23 | initialize of.uniq in ngx_open_cached_file() | Igor Sysoev | 1 | -0/+1 | |
| 2008-06-17 | *) back out r2040 | Igor Sysoev | 1 | -3/+3 | |
| *) refactor ngx_palloc() *) introduce ngx_pnalloc() *) additional pool blocks have smaller header | |||||
| 2008-02-12 | length calculation did not take into account escaped symbols in arguments | Igor Sysoev | 1 | -3/+22 | |
