From f35dd45ea6e77f74c795551def6e88e06f1440cb Mon Sep 17 00:00:00 2001 From: Chris Ross Date: Thu, 9 Oct 2014 15:49:27 -0700 Subject: [PATCH] HTML decode URL. --- test/E2ETests/Scenarios.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/test/E2ETests/Scenarios.cs b/test/E2ETests/Scenarios.cs index aa111b377c..ffe40f461c 100644 --- a/test/E2ETests/Scenarios.cs +++ b/test/E2ETests/Scenarios.cs @@ -143,6 +143,7 @@ namespace E2ETests var startIndex = responseContent.IndexOf("[[link]]", startIndex); var confirmUrl = responseContent.Substring(startIndex, endIndex - startIndex); + confirmUrl = WebUtility.HtmlDecode(confirmUrl); response = httpClient.GetAsync(confirmUrl).Result; ThrowIfResponseStatusNotOk(response); responseContent = response.Content.ReadAsStringAsync().Result;