Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dotnet/aspnetcore.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Ross <Tratcher@Outlook.com>2022-11-12 00:55:17 +0300
committerGitHub <noreply@github.com>2022-11-12 00:55:17 +0300
commit0a326b735415e444c9e2b7796ed98981f1554a9c (patch)
tree52e968a3149dbe52ff85bdcefb543f910ddba736
parentd480178bc6ab51d1f2c491f783ea7d12b27fc9a4 (diff)
-rw-r--r--src/Servers/HttpSys/src/RequestProcessing/Request.cs2
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;