[英]using requestPathInvalidChars in asp.net application
I would like to allow a page on my website to allow & and . 我想允许我网站上的页面允许&和。 charecters in my website.
我网站上的字符。 I found out that this is possible with putting requestPathInvalidChars in your webconfig.
我发现可以通过将requestPathInvalidChars放入您的webconfig中来实现。 looking around on the web I did not find any good examples on how to accomplish this.
在网上浏览时,我没有找到任何有关如何完成此操作的好例子。 How do I allow those specified char on my site?
如何在我的网站上允许那些指定的字符? thanks for any answers.
感谢您的任何答案。
I believe you just set it to blank: 我相信您只是将其设置为空白:
<system.web>
<httpRuntime requestPathInvalidCharacters="" />
</system.web>
but I also urge you to read Scott's article about this. 但我也敦促您阅读Scott的文章 。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.