Skip to content

Commit

Permalink
Merge pull request #11 from DNNCommunity/issue-10
Browse files Browse the repository at this point in the history
Update REGEX to support commas in URL
  • Loading branch information
MaiklT authored Mar 3, 2018
2 parents 803da87 + 67a4c9d commit 2937211
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion IframeOptions.ascx
Original file line number Diff line number Diff line change
Expand Up @@ -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" />
<asp:RequiredFieldValidator ID="SourceUrlRequiredValidator" runat="server"
ControlToValidate="SourceUrl$txtUrl"
Expand Down

0 comments on commit 2937211

Please sign in to comment.