Skip to content

Commit

Permalink
Merge pull request #327 from flcdrg/fix-security-warnings
Browse files Browse the repository at this point in the history
Fix security warnings
  • Loading branch information
flcdrg committed Jan 8, 2022
2 parents 822dbc6 + 525880e commit 24462c9
Show file tree
Hide file tree
Showing 9 changed files with 29 additions and 689 deletions.
16 changes: 0 additions & 16 deletions Tests/ClassLibrary1/packages.lock.json

This file was deleted.

16 changes: 0 additions & 16 deletions Tests/ClassLibrary2/packages.lock.json

This file was deleted.

19 changes: 0 additions & 19 deletions Tests/ConsoleApp/packages.lock.json

This file was deleted.

11 changes: 11 additions & 0 deletions Tests/Directory.Build.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<PackageReference Remove="Nerdbank.GitVersioning">
</PackageReference>
</ItemGroup>

<PropertyGroup>
<RestorePackagesWithLockFile>true</RestorePackagesWithLockFile>
</PropertyGroup>
</Project>
5 changes: 5 additions & 0 deletions Tests/WebApp/Views/Web.config
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@
<remove name="BlockViewHandler"/>
<add name="BlockViewHandler" path="*" verb="*" preCondition="integratedMode" type="System.Web.HttpNotFoundHandler" />
</handlers>
<httpProtocol>
<customHeaders>
<add name="X-Frame-Options" value="SAMEORIGIN" />
</customHeaders>
</httpProtocol>
</system.webServer>

<system.web>
Expand Down
7 changes: 6 additions & 1 deletion Tests/WebApp/Web.config
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,18 @@
</appSettings>
<system.web>
<authentication mode="None" />
<compilation debug="true" targetFramework="4.6.1" />
<compilation targetFramework="4.6.1" />
<httpRuntime targetFramework="4.6.1" />
</system.web>
<system.webServer>
<modules>
<remove name="FormsAuthentication" />
</modules>
<httpProtocol>
<customHeaders>
<add name="X-Frame-Options" value="SAMEORIGIN" />
</customHeaders>
</httpProtocol>
</system.webServer>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
Expand Down
2 changes: 1 addition & 1 deletion Tests/WebApp/packages.lock.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"version": 1,
"dependencies": {
"Any,Version=v0.0": {
".NETFramework,Version=v4.6.1": {
"Antlr": {
"type": "Direct",
"requested": "[3.4.1.9004, 3.4.1.9004]",
Expand Down
Loading

0 comments on commit 24462c9

Please sign in to comment.