Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
A potentially dangerous Request.Path
Message
De
01/09/2011 15:09:54
 
 
À
01/09/2011 14:15:08
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01522446
Message ID:
01522525
Vues:
21
>Looks right.
>Not sure whether it would make a difference but I see that although you are targeting ASP.NET 4 you have the requestValidationMode="2".
>The documentation isn't very clear but it seems that when set to '2' validation is only applied to pages (and even then can be suppressed on individual pages). You could try removing that attrib (or setting it to "4")
>But (and I keep coming back to this) you really must determine whether the method is simply not being called or whether it is being called but not behaving as expected. Set a break point, throw an exception, write to the event log, whatever.......

In your test, you were able to bypass the IIS default message by taking priority over it and applying business logic and/or redirecting to another page?

I did a test with requestValidationMode="4" but that did not change anything.

I think I have found a memory issue while doing those tests. I will let you know later on about my results.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform