|
1 | 1 | /*
|
2 | 2 | * ModSecurity, http://www.modsecurity.org/
|
3 |
| - * Copyright (c) 2015 - 2021 Trustwave Holdings, Inc. (http://www.trustwave.com/) |
| 3 | + * Copyright (c) 2015 - 2023 Trustwave Holdings, Inc. (http://www.trustwave.com/) |
4 | 4 | *
|
5 | 5 | * You may not use this file except in compliance with
|
6 | 6 | * the License. You may obtain a copy of the License at
|
@@ -231,6 +231,8 @@ class VariableMonkeyResolution {
|
231 | 231 | anchoredSetVariable = &t->m_variableGeo;
|
232 | 232 | } else if (comp(col, "REQUEST_COOKIES_NAMES")) {
|
233 | 233 | anchoredSetVariable = &t->m_variableRequestCookiesNames;
|
| 234 | + } else if (comp(col, "MULTIPART_PART_HEADERS")) { |
| 235 | + anchoredSetVariable = &t->m_variableMultipartPartHeaders; |
234 | 236 | } else if (comp(col, "FILES_TMPNAMES")) {
|
235 | 237 | anchoredSetVariable = &t->m_variableFilesTmpNames;
|
236 | 238 | }
|
@@ -553,6 +555,8 @@ class VariableMonkeyResolution {
|
553 | 555 | vv = t->m_variableRequestCookiesNames.resolveFirst(var);
|
554 | 556 | } else if (comp(col, "FILES_TMPNAMES")) {
|
555 | 557 | vv = t->m_variableFilesTmpNames.resolveFirst(var);
|
| 558 | + } else if (comp(col, "MULTIPART_PART_HEADERS")) { |
| 559 | + vv = t->m_variableMultipartPartHeaders.resolveFirst(var); |
556 | 560 | } else if (comp(col, "TX")) {
|
557 | 561 | vv = t->m_collections.m_tx_collection->resolveFirst(var);
|
558 | 562 | } else if (comp(col, "RESOURCE")) {
|
|
0 commit comments