summaryrefslogtreecommitdiffhomepage
path: root/src/http/ngx_http_script.c (follow)
AgeCommit message (Collapse)AuthorFilesLines
2012-12-06Allow the complex value to be defined as an empty string.Ruslan Ermilov1-7/+3
This makes conversion from strings to complex values possible without the loss of functionality.
2012-05-11Rewrite: fixed escaping and possible segfault (ticket #162).Maxim Dounin1-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-27Disable symlinks: initialization of the "disable_symlinks" field inValentin Bartenev1-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-13Support for disable_symlinks in various modules.Andrey Belov1-0/+3
2012-01-18Copyright updated.Maxim Konovalov1-0/+1
2011-10-12Clear old Location header (if any) while adding a new one.Maxim Dounin1-0/+2
This prevents incorrect behaviour when another redirect is issued within error_page 302 handler.
2011-05-03test zero value in an "if" directive consistently with predicates fixed in r3894Igor Sysoev1-1/+1
thanks to Maxim Dounin
2011-04-15values starting with '0' were incorrectly assumed to be falseIgor Sysoev1-1/+1
patch by Maxim Dounin
2011-04-12use memmove() in appropriate placesIgor Sysoev1-1/+1
2010-09-13fix typoIgor Sysoev1-1/+1
2010-09-02new ngx_http_secure_link_module with secure_link, secure_link_md5, andIgor Sysoev1-0/+36
secure_link_expires
2010-07-14ngx_http_test_predicates(), ngx_http_set_predicate_slot()Igor Sysoev1-0/+70
2010-06-18return code textIgor Sysoev1-6/+9
2010-05-14ngx_str_set() and ngx_str_null()Igor Sysoev1-2/+1
2009-11-16fix captures in "rewrite", the bug had been introduced in r3326Igor Sysoev1-3/+3
2009-11-16regex named capturesIgor Sysoev1-23/+3
2009-09-30read_aheadIgor Sysoev1-0/+1
2009-09-25low ENAMETOOLONG logging levelIgor Sysoev1-1/+4
2009-07-14ngx_http_set_exten() is always successful since 0.3.46Igor Sysoev1-5/+1
2009-06-02fix return value on failureIgor Sysoev1-1/+1
2009-04-27-p and --prefix=Igor Sysoev1-4/+5
2009-04-27*) of.test_only to not open file if only stat() is enoughIgor Sysoev1-1/+2
*) of.failed to return exact name of failed syscall
2009-03-27rename ngx_http_scrip_flush_complex_value()Igor Sysoev1-2/+2
to ngx_http_script_flush_complex_value()
2009-03-27fix plain text values using relative path in ngx_http_complex_value(),Igor Sysoev1-5/+5
this fixes the auth_basic_user_file bug introduced in r2589
2009-03-22ngx_http_script_flush_complex_value()Igor Sysoev1-10/+293
ngx_http_complex_value() ngx_http_compile_complex_value()
2009-03-18split ngx_http_script_compile()Igor Sysoev1-159/+234
2009-03-06now regex captures are per-request entitiesIgor Sysoev1-68/+102
2009-02-10fix /?new=arg?old=arg redirect caseIgor Sysoev1-4/+15
2008-12-11fix r2394Igor Sysoev1-14/+4
2008-12-10fix debug loggingIgor Sysoev1-17/+46
2008-09-01escape a query string characters taken from URI while rewriteIgor Sysoev1-0/+1
2008-07-31fix conflicting names "true" and "false"Igor Sysoev1-21/+21
2008-07-30directioIgor Sysoev1-0/+1
2008-06-26ngx_memzero() ngx_open_file_info_tIgor Sysoev1-2/+2
2008-06-23initialize of.uniq in ngx_open_cached_file()Igor Sysoev1-0/+1
2008-06-17*) back out r2040Igor Sysoev1-3/+3
*) refactor ngx_palloc() *) introduce ngx_pnalloc() *) additional pool blocks have smaller header
2008-02-12length calculation did not take into account escaped symbols in argumentsIgor Sysoev1-3/+22
2007-12-27optimizationIgor Sysoev1-1/+1
2007-12-22open_file_cache_min_usesIgor Sysoev1-0/+1
2007-12-21open_file_cache_retest > open_file_cache_validIgor Sysoev1-1/+1
2007-10-22unescape SSI includeIgor Sysoev1-1/+2
2007-10-14fix English grammarIgor Sysoev1-4/+4
2007-10-09%v fix lost in r1407Igor Sysoev1-1/+1
2007-09-03open_file_cache_eventsIgor Sysoev1-0/+1
2007-09-01open_file_cache in HTTPIgor Sysoev1-29/+30
2007-08-20use %v for ngx_variable_value_t in ngx_sprintf(),Igor Sysoev1-1/+1
this fixes nginx on FreeBSD/sparc64
2007-03-30flush nocachable variables before ngx_http_script_run()Igor Sysoev1-3/+14
2006-11-14debug log should not be under rewrite_log controlIgor Sysoev1-9/+5
2006-10-02set "Content-Length: 0" for errors handled by "return 204"Igor Sysoev1-0/+1
2006-08-28nginx-0.3.61-RELEASE importrelease-0.3.61Igor Sysoev1-0/+2
*) Change: now the "tcp_nodelay" directive is turned on by default. *) Feature: the "msie_refresh" directive. *) Feature: the "recursive_error_pages" directive. *) Bugfix: the "rewrite" directive returned incorrect redirect, if the redirect had the captured escaped symbols from original URI.