PDA

View Full Version : validateRequest



payam_igi
پنج شنبه 17 مرداد 1387, 01:47 صبح
سلام.
چطور ميشه validateRequest رو False كرد.
وقتي مقدار از editor خونده ميشه و حاوي Tag هاي Html است صفحه Error داره


A potentially dangerous Request.Form value was detected from the client (FreeTextBox1="<FONT color=#000080>...").
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.

ظاهرا راه حل False كردن validateRequest اما نمي دونم كجاست.

hadi000333
پنج شنبه 17 مرداد 1387, 01:58 صبح
توی این Directive یکی از Attribute هاش ValidateRequeqt هست اونو False کن

<%@Page %<