asp.net mvc 地址栏传输信息报错:window.location.pathname
生活随笔
收集整理的這篇文章主要介紹了
asp.net mvc 地址栏传输信息报错:window.location.pathname
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
asp.net mvc 地址欄傳輸信息報錯:window.location.pathname
前端cshtml代碼內容 代碼片.
// 頁面跳轉 window.location.pathname = '/Home/Index?cc=123';“/”應用程序中的服務器錯誤
從客戶端(?)中檢測到有潛在危險的 Request.Path 值。
如何解決
window.location.pathname理解:pathname 屬性是一個可讀可寫的字符串,可設置或返回當前 URL 的路徑部分。
總結
以上是生活随笔為你收集整理的asp.net mvc 地址栏传输信息报错:window.location.pathname的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: android 怎么获取app 字体颜色
- 下一篇: asp.net ajax控件工具集 Au