Skip to content

Commit 7d4b4b0

Browse files
committed
Removed legacy bug references from code
1 parent f60a864 commit 7d4b4b0

File tree

1 file changed

+9
-9
lines changed
  • src/Microsoft.AspNetCore.SystemWebAdapters/Utilities

1 file changed

+9
-9
lines changed

src/Microsoft.AspNetCore.SystemWebAdapters/Utilities/UrlPath.cs

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ internal static string Combine(string appPath, string basepath, string relative)
122122
}
123123
}
124124

125-
// Make sure it's a virtual path (ASURT 73641)
125+
// Make sure it's a virtual path
126126
Util.UrlPath.CheckValidVirtualPath(relative);
127127

128128
if (Util.UrlPath.IsRooted(relative))
@@ -136,7 +136,7 @@ internal static string Combine(string appPath, string basepath, string relative)
136136
return appPath;
137137

138138
// If the relative path starts with "~/" or "~\", treat it as app root
139-
// relative (ASURT 68628)
139+
// relative
140140
if (IsAppRelativePath(relative))
141141
{
142142
if (appPath.Length > 1)
@@ -205,7 +205,7 @@ internal static string FixVirtualPathSlashes(string virtualPath)
205205
if (newPath == (object)virtualPath)
206206
break;
207207

208-
// We need to loop again to take care of triple (or more) slashes (VSWhidbey 288782)
208+
// We need to loop again to take care of triple (or more) slashes
209209
virtualPath = newPath;
210210
}
211211

@@ -227,7 +227,7 @@ internal static string MakeVirtualPathAppAbsolute(string virtualPath, string app
227227
return applicationPath;
228228

229229
// If the virtual path starts with "~/" or "~\", replace with the app path
230-
// relative (ASURT 68628)
230+
// relative
231231
if (virtualPath.Length >= 2 && virtualPath[0] == AppRelativeCharacter &&
232232
(virtualPath[1] == '/' || virtualPath[1] == '\\'))
233233
{
@@ -275,7 +275,7 @@ internal static bool VirtualPathStartsWithVirtualPath(string virtualPath1, strin
275275
return true;
276276
}
277277

278-
// Special case for apps rooted at the root. VSWhidbey 286145
278+
// Special case for apps rooted at the root.
279279
if (virtualPath2Length == 1)
280280
{
281281
Debug.Assert(virtualPath2[0] == '/');
@@ -287,7 +287,7 @@ internal static bool VirtualPathStartsWithVirtualPath(string virtualPath1, strin
287287
return true;
288288

289289
// If it doesn't, make sure the next char in virtualPath1 is a '/'.
290-
// e.g. /app1 vs /app11 (VSWhidbey 285038)
290+
// e.g. /app1 vs /app11
291291
if (virtualPath1[virtualPath2Length] != '/')
292292
{
293293
return false;
@@ -386,7 +386,7 @@ internal static string ReduceVirtualPath(string path)
386386

387387
var result = sb.ToString();
388388

389-
// If we end up with en empty string, turn it into either "/" or "." (VSWhidbey 289175)
389+
// If we end up with en empty string, turn it into either "/" or "."
390390
if (result.Length == 0)
391391
{
392392
if (length > 0 && path[0] == '/')
@@ -399,7 +399,7 @@ internal static string ReduceVirtualPath(string path)
399399
}
400400

401401
// We use file: protocol instead of http:, so that Uri.MakeRelative behaves
402-
// in a case insensitive way (VSWhidbey 80078)
402+
// in a case insensitive way
403403
private const string dummyProtocolAndServer = "file://foo";
404404
private static readonly char[] s_slashChars = new char[] { '\\', '/' };
405405

@@ -434,7 +434,7 @@ internal static string MakeRelative(string fromPath, string toPath)
434434

435435
string relativePath;
436436

437-
// VSWhidbey 144946: If to and from points to identical path (excluding query and fragment), just use them instead
437+
// If to and from points to identical path (excluding query and fragment), just use them instead
438438
// of returning an empty string.
439439
if (fromUri.Equals(toUri))
440440
{

0 commit comments

Comments
 (0)