Azure DevOps Migration Tools allow you to migrate Teams, Backlogs, Tasks, Test Cases, and Plans & Suits from one Project to another in Azure DevOps / TFS both within the same Organisation, and between Organisations.
The method Uri.ToString() fails to encode spaces as %20, leading to incorrect outcomes in URL comparisons. To address this, I have modified the code to use Uri.AbsoluteUri, which correctly encodes the URL. This change ensures that the comparison operates as expected in the following code snipped.
if (!match.Value.ToLower().Contains(oldTfsurl.ToLower()) && !match.Value.ToLower().Contains(oldTfsurlOppositeSchema.ToLower()))
Fixes #2050
The method Uri.ToString() fails to encode spaces as %20, leading to incorrect outcomes in URL comparisons. To address this, I have modified the code to use Uri.AbsoluteUri, which correctly encodes the URL. This change ensures that the comparison operates as expected in the following code snipped.
if (!match.Value.ToLower().Contains(oldTfsurl.ToLower()) && !match.Value.ToLower().Contains(oldTfsurlOppositeSchema.ToLower()))