mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
Removed secutiry patch and updated Azure project
--HG-- branch : dev
This commit is contained in:
@@ -30,7 +30,7 @@
|
||||
<add namespace="System.Collections.Generic"/>
|
||||
<add namespace="Orchard.Mvc.Html"/>
|
||||
</namespaces>
|
||||
</pages>
|
||||
</pages>
|
||||
</system.razor.web>
|
||||
|
||||
<!--
|
||||
@@ -69,6 +69,7 @@
|
||||
<authentication mode="Forms">
|
||||
<forms loginUrl="~/Users/Account/AccessDenied" timeout="2880"/>
|
||||
</authentication>
|
||||
|
||||
<roleManager enabled="false">
|
||||
<providers>
|
||||
<clear/>
|
||||
@@ -84,7 +85,7 @@
|
||||
it enables developers to configure html error pages
|
||||
to be displayed in place of a error stack trace.
|
||||
-->
|
||||
<customErrors mode="RemoteOnly" redirectMode="ResponseRewrite" defaultRedirect="~/Error.aspx"/>
|
||||
<customErrors mode="Off" />
|
||||
<pages controlRenderingCompatibilityVersion="3.5" clientIDMode="AutoID">
|
||||
<namespaces>
|
||||
<add namespace="System.Web.Mvc"/>
|
||||
@@ -97,16 +98,6 @@
|
||||
</namespaces>
|
||||
</pages>
|
||||
<httpHandlers>
|
||||
<!-- Explicitly remove not necessary handlers -->
|
||||
<remove path="eurl.axd" verb="*" />
|
||||
<remove path="trace.axd" verb="*" />
|
||||
<remove path="WebResource.axd" verb="*" />
|
||||
<remove path="*_AppService.axd" verb="*" />
|
||||
<remove path="ScriptResource.axd" verb="*" />
|
||||
<remove path="*.rem" verb="*" />
|
||||
<remove path="*.xoml" verb="*" />
|
||||
<remove path="*.xamlx" verb="*" />
|
||||
|
||||
<add verb="*" path="*.mvc" validate="false" type="System.Web.Mvc.MvcHttpHandler, System.Web.Mvc, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
|
||||
|
||||
<!-- Block access to module and theme definition files -->
|
||||
@@ -124,35 +115,6 @@
|
||||
<modules runAllManagedModulesForAllRequests="true">
|
||||
</modules>
|
||||
<handlers>
|
||||
<!-- Explicitly remove not necessary handlers -->
|
||||
<!--remove path="trace.axd" verb="*" /-->
|
||||
<remove name="TraceHandler-Integrated-4.0" />
|
||||
|
||||
<!-- remove path="WebResource.axd" verb="*" /-->
|
||||
<remove name="AssemblyResourceLoader-Integrated" />
|
||||
<remove name="AssemblyResourceLoader-Integrated-4.0" />
|
||||
|
||||
<!-- remove path="ScriptResource.axd" verb="*" /-->
|
||||
<remove name="ScriptResourceIntegrated-4.0" />
|
||||
|
||||
<!-- remove path="*_AppService.axd" verb="*" /-->
|
||||
<remove name="ScriptHandlerFactoryAppServices-Integrated-4.0" />
|
||||
|
||||
<!-- remove path="*.rem" verb="*" /-->
|
||||
<remove name="HttpRemotingHandlerFactory-rem-Integrated-4.0" />
|
||||
<remove name="HttpRemotingHandlerFactory-rem-ISAPI-4.0_32bit" />
|
||||
<remove name="HttpRemotingHandlerFactory-rem-ISAPI-4.0_64bit" />
|
||||
|
||||
<!-- remove path="*.xamlx" verb="*" /-->
|
||||
<remove name="xamlx-Integrated-4.0" />
|
||||
<remove name="xamlx-ISAPI-4.0_32bit" />
|
||||
<remove name="xamlx-ISAPI-4.0_64bit" />
|
||||
|
||||
<!-- remove path="*.xoml" verb="*" /-->
|
||||
<remove name="xoml-Integrated-4.0" />
|
||||
<remove name="xoml-ISAPI-4.0_32bit" />
|
||||
<remove name="xoml-ISAPI-4.0_64bit" />
|
||||
|
||||
<remove name="MvcHttpHandler"/>
|
||||
<remove name="UrlRoutingHandler"/>
|
||||
<add name="MvcHttpHandler" preCondition="integratedMode" verb="*" path="*.mvc" type="System.Web.Mvc.MvcHttpHandler, System.Web.Mvc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"/>
|
||||
|
Reference in New Issue
Block a user