dotnet/aspnetcore

IISUrlRewrite "URL" parameter

開放

#6,002 建立於 2017年9月1日

 (2 則留言) (0 個反應) (0 位負責人)C# (10,653 個分叉)batch import
area-middlewarehelp wanted

倉庫指標

星標
 (37,933 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

We missed implementing the URL parameter in IIS Url Rewrite rules. The URL parameter will just return the original request url. Ex:

<rule name="LowerCaseRule1" enabled="true" stopProcessing="true">
    <match url="[A-Z]" ignoreCase="false" />
    <action type="Redirect" url="{ToLower:{URL}}" />
</rule>

the ToLower:{URL} would return the lower cased request url.

貢獻者指南