Browse Source

Fix requestValidation in web.config (happened on conversion to .NET 4.0)

Minor change in wording in snippet converter

git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@6423 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
pull/1/head
Christoph Wille 15 years ago
parent
commit
bafecf9e86
  1. 2
      samples/CodeConverter/Source/CCSite/SnippetConverter.aspx
  2. 1
      samples/CodeConverter/Source/CCSite/SnippetConverter.aspx.designer.cs
  3. 5
      samples/CodeConverter/Source/CCSite/Web.Config

2
samples/CodeConverter/Source/CCSite/SnippetConverter.aspx

@ -1,6 +1,6 @@
<%@ Page Language="C#" MasterPageFile="~/ProzacAfternoon.master" AutoEventWireup="true" <%@ Page Language="C#" MasterPageFile="~/ProzacAfternoon.master" AutoEventWireup="true"
Inherits="SnippetConverterPage" Inherits="SnippetConverterPage"
Title="Snippet Converter for .NET 2.0" Title="Snippet Converter for .NET 4.0"
ValidateRequest="false" Codebehind="SnippetConverter.aspx.cs" %> ValidateRequest="false" Codebehind="SnippetConverter.aspx.cs" %>
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="Server"> <asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="Server">

1
samples/CodeConverter/Source/CCSite/SnippetConverter.aspx.designer.cs generated

@ -1,7 +1,6 @@
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
// <auto-generated> // <auto-generated>
// This code was generated by a tool. // This code was generated by a tool.
// Runtime Version:2.0.50727.4927
// //
// Changes to this file may cause incorrect behavior and will be lost if // Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated. // the code is regenerated.

5
samples/CodeConverter/Source/CCSite/Web.Config

@ -11,6 +11,8 @@
<appSettings/> <appSettings/>
<connectionStrings/> <connectionStrings/>
<system.web> <system.web>
<httpRuntime requestValidationMode="2.0" />
<!-- <!--
Set compilation debug="true" to insert debugging Set compilation debug="true" to insert debugging
symbols into the compiled page. Because this symbols into the compiled page. Because this
@ -37,5 +39,6 @@
<error statusCode="404" redirect="FileNotFound.htm" /> <error statusCode="404" redirect="FileNotFound.htm" />
</customErrors> </customErrors>
--> -->
<pages controlRenderingCompatibilityVersion="3.5" clientIDMode="AutoID"/></system.web> <pages controlRenderingCompatibilityVersion="3.5" clientIDMode="AutoID"/>
</system.web>
</configuration> </configuration>

Loading…
Cancel
Save