summaryrefslogtreecommitdiff
path: root/src/configreader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/configreader.cpp')
-rw-r--r--src/configreader.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/configreader.cpp b/src/configreader.cpp
index fdb558789..5e1dd6969 100644
--- a/src/configreader.cpp
+++ b/src/configreader.cpp
@@ -1617,7 +1617,10 @@ bool ServerConfig::ParseLine(const std::string &filename, std::string &line, lon
{
if (!allowexeinc)
{
- errstr << "Configuration added by <include:executable> is not allowed to have its own <include:executable> tags for security reasons." << std::endl;
+ errstr << "Executable includes are not allowed to use <include:executable>\n"
+ "This could be an attempt to execute commands from a malicious remote include.\n"
+ "If you need multiple levels of remote include, create a script to assemble the "
+ "contents locally or include files using <include:file>\n";
return false;
}