anshuman.shandilya-aonhewitt
-
9/18/2012 4:51:02 AM
validateRequest="false"
Hi,
I see that in web.config, validateRequest="false" is used. But I don't want that script tags "<", ">" can be inserted from my webpart. If I turn it on (validateRequest="true") in web.config, will it break any inbuilt kentico code. I have also added my own web.config in the folder where i have custom webparts with the following text
<?xml version="1.0"?> <configuration> <system.web> <pages validateRequest="true" /> </system.web> </configuration>
But even then I can insert script tag from my webpart. Also I could not find the @Page directive because I am creating all pages in CMS DESK.
Please help how can I turn on validaterRequest property for my webparts if not for entire kentico CMS.
Thanks Anshuman
|