Skip to content

Commit f181006

Browse files
committed
Fix helper path
Signed-off-by: Bob Weinand <[email protected]>
1 parent 016de14 commit f181006

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

appsec/src/extension/configuration.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ extern bool runtime_config_first_init;
2626
#define DEFAULT_OBFUSCATOR_VALUE_REGEX \
2727
"(?i)(?:p(?:ass)?w(?:or)?d|pass(?:[_-]?phrase)?|secret(?:[_-]?key)?|(?:(?:api|private|public|access)[_-]?)key(?:[_-]?id)?|(?:(?:auth|access|id|refresh)[_-]?)?token|consumer[_-]?(?:id|key|secret)|sign(?:ed|ature)?|auth(?:entication|orization)?|jsessionid|phpsessid|asp\\.net(?:[_-]|-)sessionid|sid|jwt)(?:\\s*=([^;&]+)|\"\\s*:\\s*(\"[^\"]+\"|\\d+))|bearer\\s+([a-z0-9\\._\\-]+)|token\\s*:\\s*([a-z0-9]{13})|gh[opsu]_([0-9a-zA-Z]{36})|ey[I-L][\\w=-]+\\.(ey[I-L][\\w=-]+(?:\\.[\\w.+\\/=-]+)?)|[\\-]{5}BEGIN[a-z\\s]+PRIVATE\\sKEY[\\-]{5}([^\\-]+)[\\-]{5}END[a-z\\s]+PRIVATE\\sKEY|ssh-rsa\\s*([a-z0-9\\/\\.+]{100,})"
2828

29-
#define DD_BASE(path) "/opt/datadog-php/"
29+
#define DD_BASE(path) "/opt/datadog-php/" path
3030

3131
// clang-format off
3232
#define DD_CONFIGURATION_GENERAL \

tooling/generate-supported-configurations.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -249,6 +249,7 @@ function add_rust_profiling_configurations(&$supported, $path) {
249249
250250
$supported = [];
251251
foreach (explode("|NEXT_CONFIG|", file_get_contents("php://stdin")) as $configLine) {
252+
$configLine = preg_replace('((\\\\{2})*\K"\s*")', '', $configLine);
252253
$config = str_getcsv(trim($configLine), ",", '"', '\\');
253254
if (count($config) < 3) {
254255
continue;

0 commit comments

Comments
 (0)