mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-14 05:45:59 +03:00
Fix SecUploadDir configuration merge
This commit is contained in:
parent
ab3afb2ed2
commit
9537cfceed
2
CHANGES
2
CHANGES
@ -1,6 +1,8 @@
|
|||||||
v3.0.x - YYYY-MMM-DD (To be released)
|
v3.0.x - YYYY-MMM-DD (To be released)
|
||||||
-------------------------------------
|
-------------------------------------
|
||||||
|
|
||||||
|
- Fix SecUploadDir configuration merge
|
||||||
|
[Issue #1720 - @zimmerle, @gjvanetten]
|
||||||
- Include all prerequisites for "make check" into dist archive
|
- Include all prerequisites for "make check" into dist archive
|
||||||
[Issue #1716 - @defanator]
|
[Issue #1716 - @defanator]
|
||||||
- Fix: Reverse logic of checking output in @inspectFile
|
- Fix: Reverse logic of checking output in @inspectFile
|
||||||
|
@ -328,26 +328,31 @@ class RulesProperties {
|
|||||||
|
|
||||||
if (from->m_uploadDirectory.m_set == true) {
|
if (from->m_uploadDirectory.m_set == true) {
|
||||||
to->m_uploadDirectory.m_value = from->m_uploadDirectory.m_value;
|
to->m_uploadDirectory.m_value = from->m_uploadDirectory.m_value;
|
||||||
|
to->m_uploadDirectory.m_set = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (from->m_uploadTmpDirectory.m_set == true) {
|
if (from->m_uploadTmpDirectory.m_set == true) {
|
||||||
to->m_uploadTmpDirectory.m_value = \
|
to->m_uploadTmpDirectory.m_value = \
|
||||||
from->m_uploadTmpDirectory.m_value;
|
from->m_uploadTmpDirectory.m_value;
|
||||||
|
to->m_uploadTmpDirectory.m_set = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (from->m_secArgumentSeparator.m_set == true) {
|
if (from->m_secArgumentSeparator.m_set == true) {
|
||||||
to->m_secArgumentSeparator.m_value = \
|
to->m_secArgumentSeparator.m_value = \
|
||||||
from->m_secArgumentSeparator.m_value;
|
from->m_secArgumentSeparator.m_value;
|
||||||
|
to->m_secArgumentSeparator.m_set = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (from->m_secWebAppId.m_set == true) {
|
if (from->m_secWebAppId.m_set == true) {
|
||||||
to->m_secWebAppId.m_value = \
|
to->m_secWebAppId.m_value = \
|
||||||
from->m_secWebAppId.m_value;
|
from->m_secWebAppId.m_value;
|
||||||
|
to->m_secWebAppId.m_set = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (from->m_unicodeMapTable.m_set == true) {
|
if (from->m_unicodeMapTable.m_set == true) {
|
||||||
to->m_unicodeMapTable.m_unicode_map_table = \
|
to->m_unicodeMapTable.m_unicode_map_table = \
|
||||||
from->m_unicodeMapTable.m_unicode_map_table;
|
from->m_unicodeMapTable.m_unicode_map_table;
|
||||||
|
to->m_unicodeMapTable.m_set = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (from->m_httpblKey.m_set == true) {
|
if (from->m_httpblKey.m_set == true) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user