summaryrefslogtreecommitdiffhomepage
path: root/src/core/ngx_string.c (follow)
AgeCommit message (Collapse)AuthorFilesLines
2009-04-27ngx_vslprintf(), ngx_slprintf()Igor Sysoev1-10/+18
2009-04-06backout r2677 and fix ngx_strlcasestrn() againIgor Sysoev1-5/+1
2009-04-06fix ngx_strlcasestrn()Igor Sysoev1-0/+4
2009-04-04ngx_strlcasestrn()Igor Sysoev1-0/+33
2008-11-10%f formatIgor Sysoev1-63/+137
2008-08-04ngx_strlow()Igor Sysoev1-0/+11
2008-07-29rename ngx_utf_...() to ngx_utf8_...()Igor Sysoev1-8/+8
2008-07-25fix utf-8 names in autoindexIgor Sysoev1-26/+30
2008-06-17*) back out r2040Igor Sysoev1-1/+1
*) refactor ngx_palloc() *) introduce ngx_pnalloc() *) additional pool blocks have smaller header
2008-03-24use ngx_int_t in ngx_sort() callbackIgor Sysoev1-1/+1
2008-03-23use dynamically allocated buffer in ngx_sort()Igor Sysoev1-5/+11
2008-01-24limit string lengthIgor Sysoev1-1/+3
2008-01-24use correct type castIgor Sysoev1-1/+1
2008-01-22allow zero length in %*sIgor Sysoev1-2/+2
2007-12-24%*s formatIgor Sysoev1-3/+16
2007-12-17replace ngx_md5_text() with ngx_hex_dump()Igor Sysoev1-7/+6
2007-11-09do not encode already encoded characters in msie_refreshIgor Sysoev1-1/+1
2007-10-22unescape SSI includeIgor Sysoev1-3/+15
2007-10-09style fix: remove trailing spacesIgor Sysoev1-3/+3
2007-10-01ngx_strnstr()Igor Sysoev1-0/+34
2007-10-01add commentIgor Sysoev1-0/+6
2007-09-27ngx_escape_html()Igor Sysoev1-0/+61
2007-09-26ngx_strstrn() and ngx_strcasestrn()Igor Sysoev1-0/+49
2007-09-26fix commentIgor Sysoev1-1/+1
2007-08-20use %v for ngx_variable_value_t in ngx_sprintf(),Igor Sysoev1-4/+17
this fixes nginx on FreeBSD/sparc64
2007-08-20escape " ", "%", and %00-%1F in login and passwordIgor Sysoev1-6/+9
2007-07-22escape space, etc in $memcached_keyIgor Sysoev1-1/+21
2007-07-17Sun Studio on sparc uses different bit orderIgor Sysoev1-14/+14
2007-07-13msie_refresh should escape at least '"' to prevent XSSIgor Sysoev1-11/+23
2007-07-13"?" should not be escapedIgor Sysoev1-1/+1
2007-05-21ngx_sortIgor Sysoev1-0/+27
2007-02-14ngx_strcasecmp()/ngx_strncasecmp()Igor Sysoev1-0/+62
2007-01-12ngx_strn2cmp() > ngx_memn2cmp()Igor Sysoev1-2/+2
2007-01-12ngx_strn2cmp()Igor Sysoev1-0/+25
2006-10-28style fixIgor Sysoev1-60/+64
2006-10-28undo the previous wrong commitIgor Sysoev1-64/+60
2006-10-28bad commitIgor Sysoev1-60/+64
2006-10-16decrease number of branchesIgor Sysoev1-7/+4
2006-06-28nginx-0.3.50-RELEASE importrelease-0.3.50Igor Sysoev1-4/+70
*) Change: the "proxy_redirect_errors" and "fastcgi_redirect_errors" directives was renamed to the "proxy_intercept_errors" and "fastcgi_intercept_errors" directives. *) Feature: the ngx_http_charset_module supports the recoding from the single byte encodings to the UTF-8 encoding and back. *) Feature: the "X-Accel-Charset" response header line is supported in proxy and FastCGI mode. *) Bugfix: the "\" escape symbol in the "\"" and "\'" pairs in the SSI command was removed only if the command also has the "$" symbol. *) Bugfix: the "<!--" string might be added on some conditions in the SSI after inclusion. *) Bugfix: if the "Content-Length: 0" header line was in response, then in nonbuffered proxying mode the client connection was not closed.
2006-02-16nginx-0.3.28-RELEASE importrelease-0.3.28Igor Sysoev1-1/+1
*) Feature: the "restrict_host_names" directive was canceled. *) Feature: the --with-cpu-opt=ppc64 configuration parameter. *) Bugfix: on some condition the proxied connection with a client was terminated prematurely. Thanks to Vladimir Shutoff. *) Bugfix: the "X-Accel-Limit-Rate" header line was not taken into account if the request was redirected using the "X-Accel-Redirect" header line. *) Bugfix: the "post_action" directive ran only after a successful completion of a request. *) Bugfix: the proxied response body generated by the "post_action" directive was transferred to a client.
2006-01-17nginx-0.3.22-RELEASE importrelease-0.3.22Igor Sysoev1-12/+23
*) Feature: the ngx_http_perl_module supports the $r->args and $r->unescape methods. *) Feature: the method $r->query_string of ngx_http_perl_module was canceled. *) Bugfix: segmentation fault was occurred if the "none" or "blocked" values was specified in the "valid_referers" directive; the bug had appeared in 0.3.18.
2005-12-16nginx-0.3.16-RELEASE importrelease-0.3.16Igor Sysoev1-8/+7
*) Feature: the ngx_http_map_module. *) Feature: the "types_hash_max_size" and "types_hash_bucket_size" directives. *) Feature: the "ssi_value_length" directive. *) Feature: the "worker_rlimit_core" directive. *) Workaround: the connection number in logs was always 1 if nginx was built by the icc 8.1 or 9.0 compilers with optimization for Pentium 4. *) Bugfix: the "config timefmt" SSI command set incorrect time format. *) Bugfix: nginx did not close connection to IMAP/POP3 backend for the SSL connections; the bug had appeared in 0.3.13. Thanks to Rob Mueller. *) Bugfix: segmentation fault may occurred in at SSL shutdown; the bug had appeared in 0.3.13.
2005-12-05nginx-0.3.13-RELEASE importrelease-0.3.13Igor Sysoev1-0/+16
*) Feature: the IMAP/POP3 proxy supports STARTTLS and STLS. *) Bugfix: the IMAP/POP3 proxy did not work with the select, poll, and /dev/poll methods. *) Bugfix: in SSI handling. *) Bugfix: now Solaris sendfilev() is not used to transfer the client request body to FastCGI-server via the unix domain socket. *) Bugfix: the "auth_basic" directive did not disable the authorization; the bug had appeared in 0.3.11.
2005-11-15nginx-0.3.10-RELEASE importrelease-0.3.10Igor Sysoev1-0/+108
*) Change: the "valid_referers" directive and the "$invalid_referer" variable were moved to the new ngx_http_referer_module from the ngx_http_rewrite_module. *) Change: the "$apache_bytes_sent" variable name was changed to "$body_bytes_sent". *) Feature: the "$sent_http_..." variables. *) Feature: the "if" directive supports the "=" and "!=" operations. *) Feature: the "proxy_pass" directive supports the HTTPS protocol. *) Feature: the "proxy_set_body" directive. *) Feature: the "post_action" directive. *) Feature: the ngx_http_empty_gif_module. *) Feature: the "worker_cpu_affinity" directive for Linux. *) Bugfix: the "rewrite" directive did not unescape URI part in redirect, now it is unescaped except the %00-%25 and %7F-%FF characters. *) Bugfix: nginx could not be built by the icc 9.0 compiler. *) Bugfix: if the SSI was enabled for zero size static file, then the chunked response was encoded incorrectly.
2005-11-09nginx-0.3.8-RELEASE importrelease-0.3.8Igor Sysoev1-1/+3
*) Security: nginx now checks URI got from a backend in "X-Accel-Redirect" header line or in SSI file for the "/../" paths and zeroes. *) Change: nginx now does not treat the empty user name in the "Authorization" header line as valid one. *) Feature: the "ssl_session_timeout" directives of the ngx_http_ssl_module and ngx_imap_ssl_module. *) Feature: the "auth_http_header" directive of the ngx_imap_auth_http_module. *) Feature: the "add_header" directive. *) Feature: the ngx_http_realip_module. *) Feature: the new variables to use in the "log_format" directive: $bytes_sent, $apache_bytes_sent, $status, $time_gmt, $uri, $request_time, $request_length, $upstream_status, $upstream_response_time, $gzip_ratio, $uid_got, $uid_set, $connection, $pipe, and $msec. The parameters in the "%name" form will be canceled soon. *) Change: now the false variable values in the "if" directive are the empty string "" and string starting with "0". *) Bugfix: while using proxied or FastCGI-server nginx may leave connections and temporary files with client requests in open state. *) Bugfix: the worker processes did not flush the buffered logs on graceful exit. *) Bugfix: if the request URI was changes by the "rewrite" directive and the request was proxied in location given by regular expression, then the incorrect request was transferred to backend; the bug had appeared in 0.2.6. *) Bugfix: the "expires" directive did not remove the previous "Expires" header. *) Bugfix: nginx may stop to accept requests if the "rtsig" method and several worker processes were used. *) Bugfix: the "\"" and "\'" escape symbols were incorrectly handled in SSI commands. *) Bugfix: if the response was ended just after the SSI command and gzipping was used, then the response did not transferred complete or did not transferred at all.
2005-10-12nginx-0.3.2-RELEASE importrelease-0.3.2Igor Sysoev1-2/+9
*) Feature: the Sun Studio 10 C compiler support. *) Feature: the "proxy_upstream_max_fails", "proxy_upstream_fail_timeout", "fastcgi_upstream_max_fails", and "fastcgi_upstream_fail_timeout" directives.
2005-10-07nginx-0.3.0-RELEASE importrelease-0.3.0Igor Sysoev1-3/+6
*) Change: the 10-days live time limit of worker process was eliminated. The limit was introduced because of millisecond timers overflow.
2005-07-08nginx-0.1.38-RELEASE importrelease-0.1.38Igor Sysoev1-6/+48
*) Feature: the "limit_rate" directive is supported in in proxy and FastCGI mode. *) Feature: the "X-Accel-Limit-Rate" response header line is supported in proxy and FastCGI mode. *) Feature: the "break" directive. *) Feature: the "log_not_found" directive. *) Bugfix: the response status code was not changed when request was redirected by the ""X-Accel-Redirect" header line. *) Bugfix: the variables set by the "set" directive could not be used in SSI. *) Bugfix: the segmentation fault may occurred if the SSI page has more than one remote subrequest. *) Bugfix: nginx treated the backend response as invalid if the status line in the header was transferred in two packets; the bug had appeared in 0.1.29. *) Feature: the "ssi_types" directive. *) Feature: the "autoindex_exact_size" directive. *) Bugfix: the ngx_http_autoindex_module did not support the long file names in UTF-8. *) Feature: the IMAP/POP3 proxy.
2005-06-23nginx-0.1.37-RELEASE importrelease-0.1.37Igor Sysoev1-0/+10
*) Change: now the "\n" is added to the end of the "nginx.pid" file. *) Bugfix: the responses may be transferred not completely, if many parts or the big parts were included by SSI. *) Bugfix: if all backends had returned the 404 reponse and the "http_404" parameter of the "proxy_next_upstream" or "fastcgi_next_upstream" directives was used, then nginx started to request all backends again.
2005-06-15nginx-0.1.36-RELEASE importrelease-0.1.36Igor Sysoev1-22/+29
*) Change: if the request header has duplicate the "Host", "Connection", "Content-Length", or "Authorization" lines, then nginx now returns the 400 error. *) Change: the "post_accept_timeout" directive was canceled. *) Feature: the "default", "af=", "bl=", "deferred", and "bind" parameters of the "listen" directive. *) Feature: the FreeBSD accept filters support. *) Feature: the Linux TCP_DEFER_ACCEPT support. *) Bugfix: the ngx_http_autoindex_module did not support the file names in UTF-8. *) Bugfix: the new log file can be rotated by the -USR1 signal only if the reconfiguration by the -HUP signal was made twice.