错误“从客户端(&)检测到潜在危险的Request.Path值".在浏览器中运行路径时.

编程入门 行业动态 更新时间:2024-10-26 22:30:12
本文介绍了错误“从客户端(&)检测到潜在危险的Request.Path值".在浏览器中运行路径时.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我有一个具有GET函数的http post方法的GET函数,该对象具有一个名为request的对象,并且我在浏览器中键入了以下代码,并收到错误消息A潜在危险的Request.Path值是从客户端检测到的(& ).你能帮我这些忙吗? localhost:78906/Previews/request.items.Quantity = 1&request.items.ShippingSpeed = 9&request.items.win = 1009&request.ShippingAddress = kk

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... localhost:78906/Previews/request.items.Quantity=1&request.items.ShippingSpeed=9&request.items.win=1009&request.ShippingAddress=kk

推荐答案

你好, 看看此 [ ^ ]文章. 由于您尝试传递参数,因此为什么不将URL更改为 Hello, Have a look at this[^] article by Scott Hanselman. Since you are trying to pass the parameters why not change the URL to localhost:78906/Previews?request.items.Quantity=1&request.items.ShippingSpeed=9&request.items.win=1009&request.ShippingAddress=kk

> 问候

Regards,

更多推荐

错误“从客户端(&)检测到潜在危险的Request.Path值".在浏览器中运行路径时.

本文发布于:2023-11-12 05:13:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1580606.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:路径   检测到   客户端   器中   危险

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!