Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
noblogs-composer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Container Registry
Model registry
Monitor
Service Desk
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Noblogs
noblogs-composer
Commits
9c69d4de
Commit
9c69d4de
authored
2 years ago
by
ale
Browse files
Options
Downloads
Patches
Plain Diff
Add application/activity+json to allowed content types
parent
57956e39
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docker/conf/modsecurity/crs/crs-setup.conf
+7
-7
7 additions, 7 deletions
docker/conf/modsecurity/crs/crs-setup.conf
with
7 additions
and
7 deletions
docker/conf/modsecurity/crs/crs-setup.conf
+
7
−
7
View file @
9c69d4de
...
...
@@ -387,13 +387,13 @@ SecAction \
# application/xml|application/soap+xml|application/x-amf|application/json|\
# application/octet-stream|text/plain
# Uncomment this rule to change the default.
#
SecAction \
#
"id:900220,\
#
phase:1,\
#
nolog,\
#
pass,\
#
t:none,\
#
setvar:'tx.allowed_request_content_type=application/x-www-form-urlencoded|multipart/form-data|text/xml|application/xml|application/soap+xml|application/x-amf|application/json|application/octet-stream|text/plain'"
SecAction
\
"
id
:
900220
,\
phase
:
1
,\
nolog
,\
pass
,\
t
:
none
,\
setvar
:
'tx.allowed_request_content_type=application/x-www-form-urlencoded|multipart/form-data|text/xml|application/xml|application/soap+xml|application/x-amf|application/json|application/octet-stream|text/plain
|application/activity+json
'
"
# Content-Types charsets that a client is allowed to send in a request.
# Default: utf-8|iso-8859-1|iso-8859-15|windows-1252
...
...
This diff is collapsed.
Click to expand it.
ale
@ale
mentioned in commit
7f534803
·
2 years ago
mentioned in commit
7f534803
mentioned in commit 7f534803df8797537cefb42ac2d02179fbba2c72
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment