我有一个重写规则:
<rule name="rule 18X" stopProcessing="true">
<match url="^cheap-calls/(.+)/(.+)/$" ignoreCase="true" />
<action type="Rewrite" url="CheapCalls.asp?calltype={R:1}&country={R:2}" />
</rule>
当我访问/cheap-calls/landline/Hong%20Kong/
并尝试从 url 获取国家/地区值时,Request.QueryString("country")
它只给了我HongKong
. 为什么它会删除空间?