Click here to Skip to main content
15,914,010 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i have a controller has a http post method of GET function with an object named as request and i have typed the below code on the browser and got the error as A potentially dangerous Request.Path value was detected from the client (&). Can u help me in these...

http://localhost:78906/Previews/request.items.Quantity=1&request.items.ShippingSpeed=9&request.items.win=1009&request.ShippingAddress=kk
Posted

1 solution

Hello,

Have a look at this[^] article by Scott Hanselman.

Since you are trying to pass the parameters why not change the URL to
http://localhost:78906/Previews?request.items.Quantity=1&request.items.ShippingSpeed=9&request.items.win=1009&request.ShippingAddress=kk

Regards,
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900