mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-29 19:24:29 +03:00
Adds JSON support on ISS port
The JSON parse is already supported in Nginx and Apache versions. This patch adds support on the IIS port.
This commit is contained in:
@@ -17,6 +17,7 @@
|
||||
@set APACHE_SRC=httpd-2.4.6.tar.gz
|
||||
@set APACHE_BIN32=httpd-2.4.6-win32-VC11.zip
|
||||
@set APACHE_BIN64=httpd-2.4.6-win64-VC11.zip
|
||||
@set YAJL=lloyd-yajl-f4b2b1a.zip
|
||||
|
||||
:: @set VCARGS32="C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\vcvars32.bat"
|
||||
:: @set VCARGS64="C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\x86_amd64\vcvarsx86_amd64.bat"
|
||||
@@ -73,6 +74,11 @@ echo "b"
|
||||
@if NOT (%ERRORLEVEL%) == (0) goto build_failed_curl
|
||||
@cd "%CURRENT_DIR%"
|
||||
|
||||
@echo # yajl - %YAJL%
|
||||
@call dependencies/build_yajl.bat
|
||||
@if NOT (%ERRORLEVEL%) == (0) goto build_failed_yajl
|
||||
@cd "%CURRENT_DIR%"
|
||||
|
||||
@echo All dependencies were built successfully.
|
||||
@cd "%CURRENT_DIR%"
|
||||
@exit /B 0
|
||||
@@ -109,6 +115,10 @@ echo "b"
|
||||
@echo Failed to setup %CURL%...
|
||||
@goto failed
|
||||
|
||||
:build_failed_yajl
|
||||
@echo Failed to setup %YAJL%...
|
||||
@goto failed
|
||||
|
||||
:failed
|
||||
@cd %CURRENT_DIR%
|
||||
@exit /B 1
|
||||
|
Reference in New Issue
Block a user