File tree Expand file tree Collapse file tree 4 files changed +26
-3
lines changed
test/test-applications/integrations
TestApplication.AspNet.NetFramework
TestApplication.Owin.IIS.NetFramework
TestApplication.Wcf.Server.IIS.NetFramework Expand file tree Collapse file tree 4 files changed +26
-3
lines changed Original file line number Diff line number Diff line change 3030 <remove name =" BlockViewHandler" />
3131 <add name =" BlockViewHandler" path =" *" verb =" *" preCondition =" integratedMode" type =" System.Web.HttpNotFoundHandler" />
3232 </handlers >
33+ <httpProtocol >
34+ <customHeaders >
35+ <add name =" X-Frame-Options" value =" SAMEORIGIN" />
36+ </customHeaders >
37+ </httpProtocol >
3338 </system .webServer>
3439
3540 <system .web>
Original file line number Diff line number Diff line change 99 <add key =" UnobtrusiveJavaScriptEnabled" value =" true" />
1010 </appSettings >
1111 <system .web>
12- <customErrors mode =" Off " >
12+ <customErrors mode =" On " >
1313 </customErrors >
14- <compilation debug = " true " targetFramework =" 4.6.2" />
14+ <compilation targetFramework =" 4.6.2" />
1515 <httpRuntime targetFramework =" 4.6.2" />
1616 </system .web>
1717 <system .webServer>
2222 <remove name =" TRACEVerbHandler" />
2323 <add name =" ExtensionlessUrlHandler-Integrated-4.0" path =" *." verb =" *" type =" System.Web.Handlers.TransferRequestHandler" preCondition =" integratedMode,runtimeVersionv4.0" />
2424 </handlers >
25+ <httpProtocol >
26+ <customHeaders >
27+ <add name =" X-Frame-Options" value =" SAMEORIGIN" />
28+ </customHeaders >
29+ </httpProtocol >
2530 </system .webServer>
2631 <runtime >
2732 <assemblyBinding xmlns =" urn:schemas-microsoft-com:asm.v1" >
Original file line number Diff line number Diff line change 1616 <compilation debug =" true" targetFramework =" 4.6.2" />
1717 <httpRuntime targetFramework =" 4.6.2" />
1818 </system .web>
19+
20+ <system .webServer>
21+ <httpProtocol >
22+ <customHeaders >
23+ <add name =" X-Frame-Options" value =" SAMEORIGIN" />
24+ </customHeaders >
25+ </httpProtocol >
26+ </system .webServer>
1927</configuration >
Original file line number Diff line number Diff line change 4141 <serviceHostingEnvironment aspNetCompatibilityEnabled =" true" multipleSiteBindingsEnabled =" true" />
4242 </system .serviceModel>
4343 <system .webServer>
44+ <httpProtocol >
45+ <customHeaders >
46+ <add name =" X-Frame-Options" value =" SAMEORIGIN" />
47+ </customHeaders >
48+ </httpProtocol >
4449 <modules runAllManagedModulesForAllRequests =" true" />
4550 <!--
4651 To browse web app root directory during debugging, set the value below to true.
4752 Set to false before deployment to avoid disclosing web app folder information.
4853 -->
49- <directoryBrowse enabled =" true " />
54+ <directoryBrowse enabled =" false " />
5055 </system .webServer>
5156
5257</configuration >
You can’t perform that action at this time.
0 commit comments