传递与传播在查询中作为slug mvc

时间:2015-09-14 08:28:21

标签: slug asp.net-mvc-5.1

我似乎遇到了一个关于& amp;的问题。在一个slu ur网址中。

我有一个slug如下:

www.mydomain.com.au/27/this-is-my-slug-&-some

当我点击这个时,我收到以下错误

Server Error in '/' Application.
Runtime Error 
An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed

我尝试过包装

Server.UrlEncode(t.slug)

然而,当我点击链接时,我收到另一个错误:

HTTP Error 404.11 - Not Found
The request filtering module is configured to deny a request that contains a double escape sequence.

我的网址与stackoverflow非常相似。

任何帮助都会很棒。

0 个答案:

没有答案