Skip to content

Commit

Permalink
Merge pull request Sustainsys#1096 from Sustainsys/csphashsupport
Browse files Browse the repository at this point in the history
CSP hash support for HttpPost binding
  • Loading branch information
AndersAbel authored Jun 25, 2019
2 parents 8545f96 + 1f9e359 commit 66a2e0f
Show file tree
Hide file tree
Showing 10 changed files with 892 additions and 2,842 deletions.
6 changes: 1 addition & 5 deletions Samples/SampleMvcApplication/App_Start/BundleConfig.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,14 @@ public static void RegisterBundles(BundleCollection bundles)
bundles.Add(new ScriptBundle("~/bundles/jquery").Include(
"~/Scripts/jquery-{version}.js"));

// Use the development version of Modernizr to develop with and learn from. Then, when you're
// ready for production, use the build tool at http://modernizr.com to pick only the tests you need.
bundles.Add(new ScriptBundle("~/bundles/modernizr").Include(
"~/Scripts/modernizr-*"));

bundles.Add(new ScriptBundle("~/bundles/bootstrap").Include(
"~/Scripts/bootstrap.js",
"~/Scripts/respond.js"));

bundles.Add(new StyleBundle("~/Content/css").Include(
"~/Content/bootstrap.css",
"~/Content/site.css"));

}
}
}

Large diffs are not rendered by default.

15 changes: 13 additions & 2 deletions Samples/SampleMvcApplication/SampleMvcApplication.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,21 @@
<Reference Include="Newtonsoft.Json, Version=11.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<HintPath>..\..\packages\Newtonsoft.Json.11.0.2\lib\net45\Newtonsoft.Json.dll</HintPath>
</Reference>
<Reference Include="NWebsec, Version=5.1.1.0, Culture=neutral, PublicKeyToken=3613da5f958908a1, processorArchitecture=MSIL">
<HintPath>..\..\packages\NWebsec.5.1.1\lib\net45\NWebsec.dll</HintPath>
</Reference>
<Reference Include="NWebsec.Core, Version=2.1.0.0, Culture=neutral, PublicKeyToken=3613da5f958908a1, processorArchitecture=MSIL">
<HintPath>..\..\packages\NWebsec.Core.2.1.0\lib\net45\NWebsec.Core.dll</HintPath>
</Reference>
<Reference Include="NWebsec.Mvc, Version=5.1.1.0, Culture=neutral, PublicKeyToken=3613da5f958908a1, processorArchitecture=MSIL">
<HintPath>..\..\packages\NWebsec.Mvc.5.1.1\lib\net45\NWebsec.Mvc.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Data" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="System.Data.Entity" />
<Reference Include="System.Drawing" />
<Reference Include="System.Security" />
<Reference Include="System.Web.DynamicData" />
<Reference Include="System.Web.Entity" />
<Reference Include="System.Web.ApplicationServices" />
Expand Down Expand Up @@ -126,12 +136,13 @@
<Content Include="Content\bootstrap.css.map" />
<Content Include="App_Data\Sustainsys.Saml2.Tests.pfx" />
<Content Include="App_Data\stubidp.sustainsys.com.cer" />
<None Include="NWebsecConfig\HttpHeaderSecurityModuleConfig.xsd">
<SubType>Designer</SubType>
</None>
<None Include="Scripts\jquery-1.10.2.intellisense.js" />
<None Include="Scripts\jquery-2.1.1.intellisense.js" />
<Content Include="Scripts\jquery-2.1.1.js" />
<Content Include="Scripts\jquery-2.1.1.min.js" />
<Content Include="Scripts\modernizr-2.6.2.js" />
<Content Include="Scripts\modernizr-2.8.3.js" />
<Content Include="Scripts\respond.js" />
<Content Include="Scripts\respond.matchmedia.addListener.js" />
<Content Include="Scripts\respond.matchmedia.addListener.min.js" />
Expand Down
Loading

0 comments on commit 66a2e0f

Please sign in to comment.