From 1e7882d59fc6b022210f7bcf6811bec3b757afe3 Mon Sep 17 00:00:00 2001 From: David McCullough Date: Wed, 9 Dec 2015 21:36:39 -0600 Subject: [PATCH] Update the NWebsec internal bits to apply a bug fix --- external/NWebsec.Core/HttpHeaders/Csp/CspUriSource.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/external/NWebsec.Core/HttpHeaders/Csp/CspUriSource.cs b/external/NWebsec.Core/HttpHeaders/Csp/CspUriSource.cs index ec81133f..0b2b0575 100644 --- a/external/NWebsec.Core/HttpHeaders/Csp/CspUriSource.cs +++ b/external/NWebsec.Core/HttpHeaders/Csp/CspUriSource.cs @@ -12,7 +12,7 @@ namespace NWebsec.Core.HttpHeaders.Csp { private const string HostRegex = @"^(\*\.)?([\p{Ll}\p{Lu}0-9\-]+)(\.[\p{Ll}\p{Lu}0-9\-]+)*$"; private static readonly string SchemeOnlyRegex = "^[a-zA-Z]*[a-zA-Z0-9" + Regex.Escape("+.-") + "]:$"; - private static readonly string[] KnownSchemes = { "http", "https", "data", "ws", "wss" }; + private static readonly string[] KnownSchemes = { "http", "https", "ws", "wss" }; private readonly string _source; private CspUriSource(string source)