mirror of
https://github.com/openresty/openresty.git
synced 2024-10-13 00:29:41 +00:00
upgrade the nginx core to 1.21.3. (#779)
This commit is contained in:
@ -452,9 +452,12 @@ rm -f *.patch || exit 1
|
||||
|
||||
answer=`$root/util/ver-ge "$main_ver" 1.17.8`
|
||||
if [ "$answer" = "Y" ]; then
|
||||
echo "$info_txt applying the patch for nginx security issue https://hackerone.com/reports/513236"
|
||||
patch -p1 < $root/patches/nginx-$main_ver-static_mod_escape_loc_hdr.patch
|
||||
echo
|
||||
answer=`$root/util/ver-ge "$main_ver" 1.21.0`
|
||||
if [ "$answer" = "N" ]; then
|
||||
echo "$info_txt applying the patch for nginx security issue https://hackerone.com/reports/513236"
|
||||
patch -p1 < $root/patches/nginx-$main_ver-static_mod_escape_loc_hdr.patch
|
||||
echo
|
||||
fi
|
||||
fi
|
||||
|
||||
echo "$info_txt applying the always_enable_cc_feature_tests patch to nginx"
|
||||
|
Reference in New Issue
Block a user