bugfix: applied the safe_map_uri_to_path patch to NGINX.

This commit is contained in:
Thibault Charbonnier
2020-03-20 12:05:24 -07:00
parent d75894cc8c
commit 7cdcb022dc
2 changed files with 33 additions and 0 deletions

View File

@ -419,6 +419,13 @@ if [ "$answer" = "Y" ]; then
fi
fi
answer=`$root/util/ver-ge "$main_ver" 1.17.7`
if [ "$answer" = "N" ]; then
echo "$info_txt applying the safe_map_uri_to_path patch to nginx"
patch -p1 < $root/patches/nginx-$main_ver-safe_map_uri_to_path.patch || exit 1
echo
fi
rm -f *.patch || exit 1
echo "$info_txt applying the always_enable_cc_feature_tests patch to nginx"