A potentially dangerous Request.Form value was detected from the client etiketine sahip kayıtlar gösteriliyor. Tüm kayıtları göster
A potentially dangerous Request.Form value was detected from the client etiketine sahip kayıtlar gösteriliyor. Tüm kayıtları göster
A potentially dangerous Request.Form value was detected from the client hatası için öncelikle aspx sayfasının tepesineValidateRequest=”false” ekliyoruz.
<%@ Page Language=”C#” AutoEventWireup=”true” CodeBehind=”WebForm1.aspx.cs”Inherits=”WebApplication2.WebForm1″ ValidateRequest=”false” %>
Daha sonra Web.config sayfasında <system.web> arasına aşağıdaki satırı yazıyoruz.
<httpRuntime requestValidationMode=2.0 />

A potentially dangerous Request.Form value was detected from the client