File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
appsec/tests/integration/src/test
groovy/com/datadog/appsec/php/integration Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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 }
You can’t perform that action at this time.
0 commit comments