Skip to content

Commit cc4fef6

Browse files
committed
Fixed Regex in IFRameOptions
1 parent 923aba5 commit cc4fef6

5 files changed

Lines changed: 23 additions & 10 deletions

File tree

DNN_IFrame.dnn

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<dotnetnuke type="Package" version="5.0">
22
<packages>
3-
<package name="DNN_IFrame" type="Module" version="08.00.00">
3+
<package name="DNN_IFrame" type="Module" version="08.00.01">
44
<friendlyName>IFrame</friendlyName>
55
<description>
66
<![CDATA[
@@ -231,7 +231,7 @@
231231
<attributes>
232232
<businessControllerClass>DotNetNuke.Modules.IFrame.Components.ParametersController</businessControllerClass>
233233
<desktopModuleID>[DESKTOPMODULEID]</desktopModuleID>
234-
<upgradeVersionsList>03.02.00,03.02.03,04.03.00,04.04.00,08.00.00</upgradeVersionsList>
234+
<upgradeVersionsList>03.02.00,03.02.03,04.03.00,04.04.00,08.00.00,08.00.01</upgradeVersionsList>
235235
</attributes>
236236
</eventMessage>
237237
</component>
@@ -241,7 +241,7 @@
241241
<assembly>
242242
<path>bin</path>
243243
<name>DotNetNuke.Modules.IFrame.dll</name>
244-
<version>8.0.0.0</version>
244+
<version>8.0.1.0</version>
245245
</assembly>
246246
</assemblies>
247247
</component>

Documentation/ReleaseNotes.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,8 @@ <h3>DNN IFrame Project 08.00.00</h3>
2121
<li>Modified to work in DNN 8 and .Net 4.5.1</li>
2222
<li>Restructured the Settings/Parameters tables</li>
2323
</ul>
24+
<h3>DNN IFrame Project 08.00.01</h3>
25+
<ul>
26+
<li>Corrected Regex in IFrameOptions</li>
27+
</ul>
2428
</div>

IFrame.csproj

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3-
<Import Project="packages\Microsoft.Net.Compilers.1.1.1\build\Microsoft.Net.Compilers.props" Condition="Exists('packages\Microsoft.Net.Compilers.1.1.1\build\Microsoft.Net.Compilers.props')" />
4-
<Import Project="packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.1.0.0\build\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.props" Condition="Exists('packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.1.0.0\build\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.props')" />
3+
<Import Project="..\packages\Microsoft.Net.Compilers.1.1.1\build\Microsoft.Net.Compilers.props" Condition="Exists('..\packages\Microsoft.Net.Compilers.1.1.1\build\Microsoft.Net.Compilers.props')" />
4+
<Import Project="..\packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.1.0.0\build\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.props" Condition="Exists('..\packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.1.0.0\build\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.props')" />
55
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
66
<PropertyGroup>
77
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
@@ -112,6 +112,15 @@
112112
<ItemGroup>
113113
<Content Include="packages.config" />
114114
</ItemGroup>
115+
<ItemGroup>
116+
<Content Include="App_LocalResources\IFrame.ascx.de-AT.resx" />
117+
</ItemGroup>
118+
<ItemGroup>
119+
<Content Include="App_LocalResources\IFrameOptions.ascx.de-AT.resx" />
120+
</ItemGroup>
121+
<ItemGroup>
122+
<Content Include="App_LocalResources\SharedResources.de-AT.resx" />
123+
</ItemGroup>
115124
<PropertyGroup>
116125
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">10.0</VisualStudioVersion>
117126
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
@@ -143,8 +152,8 @@
143152
<PropertyGroup>
144153
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
145154
</PropertyGroup>
146-
<Error Condition="!Exists('packages\Microsoft.Net.Compilers.1.1.1\build\Microsoft.Net.Compilers.props')" Text="$([System.String]::Format('$(ErrorText)', 'packages\Microsoft.Net.Compilers.1.1.1\build\Microsoft.Net.Compilers.props'))" />
147-
<Error Condition="!Exists('packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.1.0.1\build\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.props')" Text="$([System.String]::Format('$(ErrorText)', 'packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.1.0.1\build\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.props'))" />
155+
<Error Condition="!Exists('..\packages\Microsoft.Net.Compilers.1.1.1\build\Microsoft.Net.Compilers.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Microsoft.Net.Compilers.1.1.1\build\Microsoft.Net.Compilers.props'))" />
156+
<Error Condition="!Exists('..\packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.1.0.1\build\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.1.0.1\build\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.props'))" />
148157
</Target>
149158
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
150159
Other similar extension points exist, see Microsoft.Common.targets.

IframeOptions.ascx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
CssClass="dnnFormMessage dnnFormError"
3535
ForeColor="White"
3636
ResourceKey="SourceUrlValidator.ErrorMessage"
37-
ValidationExpression="http(s)?://([\w-]+\.)+[\w-]+(/[\w- ./?%&amp;=]*)?"
37+
ValidationExpression="http(s)?:\/\/([\w-]+\.)+[\w-]+(/[\w- ./?%&amp;=]*)?"
3838
ValidationGroup="IFrameParametersValidation" />
3939
<asp:RequiredFieldValidator ID="SourceUrlRequiredValidator" runat="server"
4040
ControlToValidate="SourceUrl$txtUrl"

Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,5 @@
3131
//
3232
// You can specify all the values or you can default the Revision and Build Numbers
3333
// by using the '*' as shown below:
34-
[assembly: AssemblyVersion("8.0.0.0")]
35-
[assembly: AssemblyFileVersion("8.0.0.0")]
34+
[assembly: AssemblyVersion("8.0.1.0")]
35+
[assembly: AssemblyFileVersion("8.0.1.0")]

0 commit comments

Comments
 (0)