mirror of
https://github.com/openresty/openresty.git
synced 2024-10-13 00:29:41 +00:00
feature: applied the invalid_referer_hash patch to the nginx core to make the $invalid_referer variable accessible in embedded dynamic languages like Perl and Lua. thanks Fry-kun for requesting this.
This commit is contained in:
@ -150,6 +150,10 @@ echo "$info_txt applying patches/nginx-$main_ver-cve-2013-2070.patch for nginx"
|
||||
patch -p0 < $root/patches/nginx-$main_ver-cve-2013-2070.patch || exit 1
|
||||
echo
|
||||
|
||||
echo "$info_txt applying patches/nginx-$main_ver-invalid_referer_hash.patch for nginx"
|
||||
patch -p1 < $root/patches/nginx-$main_ver-invalid_referer_hash.patch || exit 1
|
||||
echo
|
||||
|
||||
rm -f *.patch || exit 1
|
||||
|
||||
cd .. || exit 1
|
||||
|
Reference in New Issue
Block a user