diff options
author | Chris Ross <Tratcher@Outlook.com> | 2022-11-12 00:55:17 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-12 00:55:17 +0300 |
commit | 0a326b735415e444c9e2b7796ed98981f1554a9c (patch) | |
tree | 52e968a3149dbe52ff85bdcefb543f910ddba736 | |
parent | d480178bc6ab51d1f2c491f783ea7d12b27fc9a4 (diff) |
Fix commentbackport/pr-45008-to-main
-rw-r--r-- | src/Servers/HttpSys/src/RequestProcessing/Request.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Servers/HttpSys/src/RequestProcessing/Request.cs b/src/Servers/HttpSys/src/RequestProcessing/Request.cs index 6d13480a8b..3f86c5b90f 100644 --- a/src/Servers/HttpSys/src/RequestProcessing/Request.cs +++ b/src/Servers/HttpSys/src/RequestProcessing/Request.cs @@ -144,7 +144,7 @@ internal sealed partial class Request else { // Mismatch, fall back - // The failing test case here is "/base/call//../ball//path1//path2", reduced to "/base/call/ball//path1//path2", + // The failing test case here is "/base/call//../bat//path1//path2", reduced to "/base/call/bat//path1//path2", // where http.sys collapses "//" before "../", but we do "../" first. We've lost the context that there were dot segments, // or duplicate slashes, how do we figure out that "call/" can be eliminated? originalOffset = 0; |