an ASP.NET Open Source CMS & eCommerce platform
Search:
Skip Navigation LinksHome > DotShoppingCart Forums > Support > DotShoppingCart Suite > A potentially dangerous Request.Path value was ...
Last Post 9/10/2012 9:40:21 AM By lukezy. 3 replies.
9/6/2012 5:11:33 PM
arraylist
Posts: 5
Joined: 8/29/2012
A potentially dangerous Request.Path value was detected from the client (&).
When you click the menu's category links, you get: A potentially dangerous Request.Path value was detected from the client (&).
You need to put a page directive:ValidateRequest=false, but you can't because the page was created dynamically.
 
What is the fix?
9/6/2012 9:00:01 PM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: A potentially dangerous Request.Path value was detected from the client (&).
Check this.
DotShoppingCart Staff
9/6/2012 11:19:24 PM
arraylist
Posts: 5
Joined: 8/29/2012
Re: A potentially dangerous Request.Path value was detected from the client (&).
I didn't create the page, it is created by dotshoppingcart dynamically.How do you set a dynamically created aspx page's ValidateRequest = false?
9/10/2012 9:40:21 AM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: A potentially dangerous Request.Path value was detected from the client (&).
I think it is already set to false in web.config . If you look at the link that I posted it was due to IIS not allowing &. Just follow that link to work around this.
DotShoppingCart Staff