view auto/lib/zlib/patch.zlib.h @ 5490:b141a7627ac6

Detect more unsafe URIs in ngx_http_parse_unsafe_uri(). The following URIs were considered safe: "..", "../foo", and "/foo/..".
author Ruslan Ermilov <ru@nginx.com>
date Mon, 23 Dec 2013 18:11:56 +0400
parents b1648294f693
children
line wrap: on
line source

--- zlib.h	Thu Jul  9 20:06:56 1998
+++ zlib-1.1.3/zlib.h	Tue Mar 22 13:41:04 2005
@@ -709,7 +709,6 @@
    (0 in case of error).
 */
 
-ZEXTERN int ZEXPORTVA   gzprintf OF((gzFile file, const char *format, ...));
 /*
      Converts, formats, and writes the args to the compressed file under
    control of the format string, as in fprintf. gzprintf returns the number of