diff options
-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; |