---
title: "HTML-taggar i formulär"
type: "forum-thread"
url: "https://www.webforum.nu/amne/dotnet/76770-html-taggar-i-formulär"
topic: ".NET"
topic_url: "https://www.webforum.nu/amne/dotnet"
author: "Web-Tor"
published: "2003-05-13T09:40:11.000Z"
updated: "2003-05-13T10:51:15.000Z"
replies: 2
views: 260
page: 1
pages: 1
language: "sv-SE"
site: "webForum — webforum.nu"
rights: "Upphovsrätten till varje inlägg tillhör dess författare."
attribution: "Citera som: webForum, https://www.webforum.nu/amne/dotnet/76770-html-taggar-i-formulär"
---

# HTML-taggar i formulär

## #1 — Web-Tor, 2003-05-13T09:40Z

När jag matar in HTML-taggar i ett formulär så får jag följande felmeddelande:

> **A potentially dangerous Request.Form value was detected from the client (fltText1="\<i\>i\</i\>").** 
> **Description:** Request Validation has detected a potentially dangerous client input value, and processing of the request has been aborted. This value may indicate an attempt to compromise the security of your application, such as a cross-site scripting attack. You can disable request validation by setting validateRequest=false in the Page directive or in the configuration section. However, it is strongly recommended that your application explicitly check all inputs in this case. 
> 
> **Exception Details:** System.Web.HttpRequestValidationException: A potentially dangerous Request.Form value was detected from the client (fltText1="\<i\>i\</i\>").

Jag får det bara på webbhotellet och inte lokalt. Kan det ha nåt med vilken version av .NET man har?

Permalänk: https://www.webforum.nu/p/76770

## #2 — Web-Tor, 2003-05-13T09:45Z

Sorry :r
Hittade det...

```
<pages validateRequest="false" />
```

Permalänk: https://www.webforum.nu/p/1047632

## #3 — NETwork, 2003-05-13T10:51Z

Detta gäller version 1.1 av frameworken där de som default gör en koll så du inte matar in elak kod i dina formulär... och de anser tom att exempelvis en \<b\> är elak. :)

Permalänk: https://www.webforum.nu/p/1047697

---

Tråden på webben: https://www.webforum.nu/amne/dotnet/76770-html-taggar-i-formulär
