Skip to content

Commit dba6cbc

Browse files
committed
wip
1 parent 61bae92 commit dba6cbc

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

appsec/tests/integration/src/test/groovy/com/datadog/appsec/php/integration/WafSubcontextTests.groovy

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1042,10 +1042,10 @@ class WafSubcontextTests {
10421042
def pushCalls = PushAddressCall.fromTrace(trace)
10431043
assert pushCalls.size() == 4
10441044

1045-
// Relative path a//example.html should be normalized to /a/example.html
1045+
// Relative path .//example.html should be normalized to /example.html
10461046
def secondReqReqData = pushCalls[2].data
10471047
assert secondReqReqData."server.io.net.url" ==
1048-
'http://127.0.0.1:8899/a/example.html'
1048+
'http://127.0.0.1:8899/example.html'
10491049
}
10501050

10511051
@Test

appsec/tests/integration/src/test/www/base/public/curl_requests_endpoint.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ function generate_body_over_limit($blocking_pattern = 'blocked_response_body') :
8888
$final_path = '/a/../example.html';
8989
break;
9090
case 'double_slash':
91-
$final_path = 'a//example.html';
91+
$final_path = './/example.html';
9292
break;
9393
}
9494
}

0 commit comments

Comments
 (0)