From 1d86b6a105b37fedb23de25a182401b6795b1041 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 14 May 2026 15:19:11 +0000 Subject: [PATCH] Clarify MSRC repro padding length in regression test Agent-Logs-Url: https://github.com/microsoft/agent-framework/sessions/832f45a6-c01e-4da9-bf85-1ba7b5f302e6 Co-authored-by: lokitoth <6936551+lokitoth@users.noreply.github.com> --- python/packages/foundry_hosting/tests/test_responses.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/python/packages/foundry_hosting/tests/test_responses.py b/python/packages/foundry_hosting/tests/test_responses.py index 56c0a171b9..b26f33adc4 100644 --- a/python/packages/foundry_hosting/tests/test_responses.py +++ b/python/packages/foundry_hosting/tests/test_responses.py @@ -2689,6 +2689,8 @@ class TestCheckpointContextPathValidation: "bad_id", [ # Original MSRC repro: traversal embedded inside an id-shaped value. + # The 14 ``A``s pad the suffix to mimic the exact length of the + # ``api-made-dir<14-char-suffix>`` segment from the original report. "caresp_x/../../service-data/api-made-dir" + "A" * 14, # Variant report repros. "../../escape",