Add a content-type used by act-runner
This commit is contained in:
@@ -37,7 +37,7 @@ SecRule &TX:allowed_request_content_type "@eq 0" \
|
||||
pass,\
|
||||
nolog,\
|
||||
ver:'gitea-proxy-rule-exclusions-plugin/1.2.0',\
|
||||
setvar:'tx.allowed_request_content_type=|application/x-www-form-urlencoded| |multipart/form-data| |multipart/related| |text/xml| |application/xml| |application/soap+xml| |application/json| |application/cloudevents+json| |application/cloudevents-batch+json|'"
|
||||
setvar:'tx.allowed_request_content_type=|application/x-www-form-urlencoded| |multipart/form-data| |multipart/related| |text/xml| |application/xml| |application/soap+xml| |application/json| |application/cloudevents+json| |application/cloudevents-batch+json| |application/proto|'"
|
||||
|
||||
# Modify CRS rule 901164
|
||||
SecRule &TX:restricted_extensions "@eq 0" \
|
||||
|
||||
@@ -5,3 +5,6 @@
|
||||
# Git files are expected on a git server
|
||||
.gitignore
|
||||
.gitattributes
|
||||
|
||||
# Exclude IDE config folders
|
||||
.idea
|
||||
|
||||
Reference in New Issue
Block a user