Skip to content

Commit

Permalink
Update REGEX to support commas in URL
Browse files Browse the repository at this point in the history
Fixes #10
  • Loading branch information
nvisionative authored Mar 2, 2018
1 parent 803da87 commit 67a4c9d
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 67a4c9d

Please sign in to comment.