|
4 | 4 | // This product includes software developed at Datadog |
5 | 5 | // (https://www.datadoghq.com/). Copyright 2021 Datadog, Inc. |
6 | 6 | #include "tags.h" |
7 | | -#include "commands/request_exec.h" |
8 | 7 | #include "ddappsec.h" |
9 | 8 | #include "ddtrace.h" |
10 | 9 | #include "ext/pcre/php_pcre.h" |
11 | | -#include "helper_process.h" |
12 | 10 | #include "ip_extraction.h" |
13 | 11 | #include "logging.h" |
14 | 12 | #include "php_compat.h" |
|
42 | 40 | #define DD_TAG_HTTP_RH_CONTENT_LANGUAGE "http.response.headers.content-language" |
43 | 41 | #define DD_TAG_HTTP_CLIENT_IP "http.client_ip" |
44 | 42 | #define DD_TAG_USER_ID "usr.id" |
45 | | -#define DD_TAG_SERVER_REQUEST_PATH_PARAMS "server.request.path_params" |
46 | 43 | #define DD_MULTIPLE_IP_HEADERS "_dd.multiple-ip-headers" |
47 | 44 | #define DD_METRIC_ENABLED "_dd.appsec.enabled" |
48 | 45 | #define DD_APPSEC_EVENTS_PREFIX "appsec.events." |
@@ -104,7 +101,6 @@ static zend_string *_key_server_name_zstr; |
104 | 101 | static zend_string *_key_http_user_agent_zstr; |
105 | 102 | static zend_string *_key_https_zstr; |
106 | 103 | static zend_string *_key_remote_addr_zstr; |
107 | | -static zend_string *_key_server_request_path_params; |
108 | 104 | static zend_string *_true_zstr; |
109 | 105 | static zend_string *_false_zstr; |
110 | 106 | static zend_string *_track_zstr; |
@@ -182,8 +178,6 @@ void dd_tags_startup() |
182 | 178 | _key_https_zstr = zend_string_init_interned(LSTRARG("HTTPS"), 1); |
183 | 179 | _key_remote_addr_zstr = |
184 | 180 | zend_string_init_interned(LSTRARG("REMOTE_ADDR"), 1); |
185 | | - _key_server_request_path_params = zend_string_init_interned( |
186 | | - LSTRARG(DD_TAG_SERVER_REQUEST_PATH_PARAMS), 1); |
187 | 181 |
|
188 | 182 | // Event related strings |
189 | 183 | _track_zstr = |
|
0 commit comments