Compare commits

...

3 Commits

4 changed files with 30 additions and 1 deletions

View File

@ -0,0 +1,18 @@
--- src/http/ngx_http_parse.c
+++ src/http/ngx_http_parse.c
@@ -617,6 +617,7 @@ ngx_http_parse_request_line(ngx_http_req
default:
r->space_in_uri = 1;
state = sw_check_uri;
+ p--;
break;
}
break;
@@ -670,6 +671,7 @@ ngx_http_parse_request_line(ngx_http_req
default:
r->space_in_uri = 1;
state = sw_uri;
+ p--;
break;
}
break;

View File

@ -39,6 +39,10 @@ if ($opts{l}) {
$cfg_opts .= " --with-luajit";
}
if ($^O eq 'solaris') {
$cfg_opts .= " --with-cc=gcc";
}
my $prefix;
warn "=== No Pool Build ===\n";

View File

@ -203,6 +203,13 @@ echo "$info_txt applying the cache_manager_exit patch for nginx $ver"
patch -p1 < $root/patches/nginx-$ver-cache_manager_exit.patch || exit 1
echo
answer=`$root/util/ver-ge "$main_ver" 1.4.4`
if [ "$answer" = "N" ]; then
echo "$info_txt applying the CVE-2013-4547 patch for nginx $ver"
patch -p0 < $root/patches/patch.2013.space.txt || exit 1
echo
fi
rm -f *.patch || exit 1
cd .. || exit 1

View File

@ -2,7 +2,7 @@
#main_ver=1.5.4
main_ver=1.4.3
minor_ver=3
minor_ver=6
version=$main_ver.$minor_ver
echo $version