IIs 7 Rewrite模块不适用于冒号 [英] IIs 7 Rewrite module does not work for colon

查看:56
本文介绍了IIs 7 Rewrite模块不适用于冒号的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试将用户友好的URL解析为实际的URL.我的代码如下.

I m trying to resolve user friendly url to actual url. my code is as below.

<match url="info/([a-z 0-9 :]+)" />
                    <conditions logicalgrouping="MatchAll" trackallcaptures="false" />
                    <action type="Redirect" url="xml/Getcv.aspx?lookingfor={R:1}" />

推荐答案

请求IIS 7中的验证将<,> *,%,:,&,\"这些字符视为无效.

我在此处.
request validation in IIS 7 considers "<,>,*,%,:,&,\" these characters as invalid.

I got this answer here.


这篇关于IIs 7 Rewrite模块不适用于冒号的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆