diff --git a/src/ImageProcessor.Web/NET45/Helpers/RemoteFile.cs b/src/ImageProcessor.Web/NET45/Helpers/RemoteFile.cs
index 13ce1c637..39dce8955 100644
--- a/src/ImageProcessor.Web/NET45/Helpers/RemoteFile.cs
+++ b/src/ImageProcessor.Web/NET45/Helpers/RemoteFile.cs
@@ -351,7 +351,7 @@ namespace ImageProcessor.Web.Helpers
///
private void CheckSafeUrlLocation()
{
- bool validUrl = RemoteFileWhiteList.Any(item => item.Host.ToUpperInvariant().Equals(this.url.Host.ToUpperInvariant()));
+ bool validUrl = RemoteFileWhiteList.Any(item => this.url.Host.ToUpperInvariant().StartsWith(item.Host.ToUpperInvariant()));
if (!validUrl)
{
diff --git a/src/TestWebsites/NET45/Test_Website_NET45/config/imageprocessor/security.config b/src/TestWebsites/NET45/Test_Website_NET45/config/imageprocessor/security.config
index 8a5716290..05f9ed734 100644
--- a/src/TestWebsites/NET45/Test_Website_NET45/config/imageprocessor/security.config
+++ b/src/TestWebsites/NET45/Test_Website_NET45/config/imageprocessor/security.config
@@ -3,5 +3,12 @@
+
+
+
+
+
+
+
diff --git a/src/TestWebsites/NET45/Test_Website_Webforms_NET45/Test_Website_Webforms_NET45.csproj b/src/TestWebsites/NET45/Test_Website_Webforms_NET45/Test_Website_Webforms_NET45.csproj
index 8ad9bff56..5084fa1e0 100644
--- a/src/TestWebsites/NET45/Test_Website_Webforms_NET45/Test_Website_Webforms_NET45.csproj
+++ b/src/TestWebsites/NET45/Test_Website_Webforms_NET45/Test_Website_Webforms_NET45.csproj
@@ -276,7 +276,9 @@
-
+
+ Designer
+