<commit_before>﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="IframeOptions.ascx.cs" Inherits="DotNetNuke.Modules.IFrame.UI.IframeOptions" %>
<%@ Register TagPrefix="dnn" TagName="Label" Src="~/controls/LabelControl.ascx" %>
<%@ Register TagPrefix="dnn" TagName="Url" Src="~/controls/UrlControl.ascx" %>

<div class="dnnForm" id="IFrameOptionTabs" runat="server">
   <div class="dnnFormItem dnnFormHelp dnnClear">
      <asp:Label ID="RequiredLabel" runat="server" CssClass="dnnFormRequired" ResourceKey="Required" />
   </div>
   <ul class="dnnAdminTabNav">
      <li><a href="#Options"><asp:Label ID="OptionsLabel" runat="server" ResourceKey="Options" /></a></li>
      <li><a href="#MoreOptions"><asp:Label ID="MoreOptionsLabel" runat="server" ResourceKey="MoreOptions" /></a></li>
      <li><a href="#Parameters"><asp:Label ID="ParametersLabel" runat="server" ResourceKey="Parameters" /></a></li>
   </ul>

   <div id="Options" class="dnnClear">
      <fieldset>
         <div class="dnnFormItem">
            <dnn:Label ID="SourceLabel" runat="server"
               ControlName="SourceUrl"
               CssClass="dnnFormRequired"
               ResourceKey="Source"
               Suffix=":" />
            <dnn:Url ID="SourceUrl" runat="server"
               ShowUrls="true"
               ShowTrack="false"
               ShowTabs="true"
               ShowLog="false"
               ShowFiles="true"
               Required="true"
               UrlType="U"
               Width="300" />
            <asp:RegularExpressionValidator ID="SourceUrlRegExpValidator" runat="server"
               ControlToValidate="SourceUrl$txtUrl"
               CssClass="dnnFormMessage dnnFormError"
               ForeColor="White"
               ResourceKey="SourceUrlValidator.ErrorMessage"
               ValidationExpression="http(s)?:\/\/([\w-]+\.)+[\w-]+(/[\w- ./?%&amp;=]*)?"
               ValidationGroup="IFrameParametersValidation" />
            <asp:RequiredFieldValidator ID="SourceUrlRequiredValidator" runat="server"
               ControlToValidate="SourceUrl$txtUrl"
               CssClass="dnnFormMessage dnnFormError"
               ForeColor="White"
               ResourceKey="SourceUrlValidator.ErrorMessage"
               ValidationGroup="IFrameParametersValidation" />
         </div>

         <div class="dnnFormItem">
            <dnn:Label ID="WidthLabel" runat="server"
               ControlName="WidthTextBox"
               ResourceKey="Width"
               Suffix=":" />
            <asp:TextBox ID="WidthTextBox" runat="server"
               CssClass="NumberBox"
               Width="100" />
         </div>

         <div class="dnnFormItem">
            <dnn:Label ID="HeightLabel" runat="server"
               ControlName="HeightTextBox"
               ResourceKey="Height"
               Suffix=":" />
            <asp:TextBox ID="HeightTextBox" runat="server"
               CssClass="NumberBox"
               Width="100" />
         </div><commit_msg>Another correction of the RegEx - thanks to nvisionative<commit_after>﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="IframeOptions.ascx.cs" Inherits="DotNetNuke.Modules.IFrame.UI.IframeOptions" %>
<%@ Register TagPrefix="dnn" TagName="Label" Src="~/controls/LabelControl.ascx" %>
<%@ Register TagPrefix="dnn" TagName="Url" Src="~/controls/UrlControl.ascx" %>

<div class="dnnForm" id="IFrameOptionTabs" runat="server">
   <div class="dnnFormItem dnnFormHelp dnnClear">
      <asp:Label ID="RequiredLabel" runat="server" CssClass="dnnFormRequired" ResourceKey="Required" />
   </div>
   <ul class="dnnAdminTabNav">
      <li><a href="#Options"><asp:Label ID="OptionsLabel" runat="server" ResourceKey="Options" /></a></li>
      <li><a href="#MoreOptions"><asp:Label ID="MoreOptionsLabel" runat="server" ResourceKey="MoreOptions" /></a></li>
      <li><a href="#Parameters"><asp:Label ID="ParametersLabel" runat="server" ResourceKey="Parameters" /></a></li>
   </ul>

   <div id="Options" class="dnnClear">
      <fieldset>
         <div class="dnnFormItem">
            <dnn:Label ID="SourceLabel" runat="server"
               ControlName="SourceUrl"
               CssClass="dnnFormRequired"
               ResourceKey="Source"
               Suffix=":" />
            <dnn:Url ID="SourceUrl" runat="server"
               ShowUrls="true"
               ShowTrack="false"
               ShowTabs="true"
               ShowLog="false"
               ShowFiles="true"
               Required="true"
               UrlType="U"
               Width="300" />
            <asp:RegularExpressionValidator ID="SourceUrlRegExpValidator" runat="server"
               ControlToValidate="SourceUrl$txtUrl"
               CssClass="dnnFormMessage dnnFormError"
               ForeColor="White"
               ResourceKey="SourceUrlValidator.ErrorMessage"
               ValidationExpression="http(s)?:\/\/([\w-]+\.)+[\w-]+(\/[\w- .\/?%&amp;=!+]*)?"
               ValidationGroup="IFrameParametersValidation" />
            <asp:RequiredFieldValidator ID="SourceUrlRequiredValidator" runat="server"
               ControlToValidate="SourceUrl$txtUrl"
               CssClass="dnnFormMessage dnnFormError"
               ForeColor="White"
               ResourceKey="SourceUrlValidator.ErrorMessage"
               ValidationGroup="IFrameParametersValidation" />
         </div>

         <div class="dnnFormItem">
            <dnn:Label ID="WidthLabel" runat="server"
               ControlName="WidthTextBox"
               ResourceKey="Width"
               Suffix=":" />
            <asp:TextBox ID="WidthTextBox" runat="server"
               CssClass="NumberBox"
               Width="100" />
         </div>

         <div class="dnnFormItem">
            <dnn:Label ID="HeightLabel" runat="server"
               ControlName="HeightTextBox"
               ResourceKey="Height"
               Suffix=":" />
            <asp:TextBox ID="HeightTextBox" runat="server"
               CssClass="NumberBox"
               Width="100" />
         </div>
{'fraction_non_alphanumeric': 0.14817867150156586, 'fraction_numerical': 0.0029668699522004283, 'mean_word_length': 2.420518602029312, 'pattern_counts': {'":': 6, '<': 83, '<?xml version=': 0, '>': 83, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3260153', 'n_tokens_mistral': 1752, 'n_tokens_neox': 1693, 'n_words': 250}