From 67a4c9d2d94424399c10bbff0cd3dda0a5eb907a Mon Sep 17 00:00:00 2001 From: nvisionative Date: Fri, 2 Mar 2018 12:36:34 -0500 Subject: [PATCH] Update REGEX to support commas in URL Fixes DNNCommunity/DNN.IFrame#10 --- IframeOptions.ascx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/IframeOptions.ascx b/IframeOptions.ascx index 13d85d7..e4c5202 100644 --- a/IframeOptions.ascx +++ b/IframeOptions.ascx @@ -34,7 +34,7 @@ CssClass="dnnFormMessage dnnFormError" ForeColor="White" ResourceKey="SourceUrlValidator.ErrorMessage" - ValidationExpression="http(s)?:\/\/([\w-]+\.)+[\w-]+(\/[\w- .\/?%&=!+]*)?" + ValidationExpression="http(s)?:\/\/([\w-]+\.)+[\w-]+(\/[\w- .\/?%&=,!+]*)?" ValidationGroup="IFrameParametersValidation" />