Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
illuna-minetest
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
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Illuna-Minetest
illuna-minetest
Commits
2ff054d0
Commit
2ff054d0
authored
8 years ago
by
ShadowNinja
Committed by
paramat
8 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Enable mod security by default
parent
c31e3543
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
builtin/settingtypes.txt
+1
-1
1 addition, 1 deletion
builtin/settingtypes.txt
minetest.conf.example
+1
-1
1 addition, 1 deletion
minetest.conf.example
src/defaultsettings.cpp
+1
-1
1 addition, 1 deletion
src/defaultsettings.cpp
with
3 additions
and
3 deletions
builtin/settingtypes.txt
+
1
−
1
View file @
2ff054d0
...
@@ -1161,7 +1161,7 @@ mgvalleys_np_inter_valley_slope (Valley Slope) noise_params 0.5, 0.5, (128, 128,
...
@@ -1161,7 +1161,7 @@ mgvalleys_np_inter_valley_slope (Valley Slope) noise_params 0.5, 0.5, (128, 128,
[*Security]
[*Security]
# Prevent mods from doing insecure things like running shell commands.
# Prevent mods from doing insecure things like running shell commands.
secure.enable_security (Enable mod security) bool
fals
e
secure.enable_security (Enable mod security) bool
tru
e
# Comma-separated list of trusted mods that are allowed to access insecure
# Comma-separated list of trusted mods that are allowed to access insecure
# functions even when mod security is on (via request_insecure_environment()).
# functions even when mod security is on (via request_insecure_environment()).
...
...
This diff is collapsed.
Click to expand it.
minetest.conf.example
+
1
−
1
View file @
2ff054d0
...
@@ -1507,7 +1507,7 @@
...
@@ -1507,7 +1507,7 @@
# Prevent mods from doing insecure things like running shell commands.
# Prevent mods from doing insecure things like running shell commands.
# type: bool
# type: bool
# secure.enable_security =
fals
e
# secure.enable_security =
tru
e
# Comma-separated list of trusted mods that are allowed to access insecure
# Comma-separated list of trusted mods that are allowed to access insecure
# functions even when mod security is on (via request_insecure_environment()).
# functions even when mod security is on (via request_insecure_environment()).
...
...
This diff is collapsed.
Click to expand it.
src/defaultsettings.cpp
+
1
−
1
View file @
2ff054d0
...
@@ -301,7 +301,7 @@ void set_default_settings(Settings *settings)
...
@@ -301,7 +301,7 @@ void set_default_settings(Settings *settings)
settings
->
setDefault
(
"emergequeue_limit_diskonly"
,
"32"
);
settings
->
setDefault
(
"emergequeue_limit_diskonly"
,
"32"
);
settings
->
setDefault
(
"emergequeue_limit_generate"
,
"32"
);
settings
->
setDefault
(
"emergequeue_limit_generate"
,
"32"
);
settings
->
setDefault
(
"num_emerge_threads"
,
"1"
);
settings
->
setDefault
(
"num_emerge_threads"
,
"1"
);
settings
->
setDefault
(
"secure.enable_security"
,
"
fals
e"
);
settings
->
setDefault
(
"secure.enable_security"
,
"
tru
e"
);
settings
->
setDefault
(
"secure.trusted_mods"
,
""
);
settings
->
setDefault
(
"secure.trusted_mods"
,
""
);
settings
->
setDefault
(
"secure.http_mods"
,
""
);
settings
->
setDefault
(
"secure.http_mods"
,
""
);
...
...
This diff is collapsed.
Click to expand it.
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