dotnet/aspnetcore

IISUrlRewrite "URL" parameter

Open

#6002 aperta il 1 set 2017

Vedi su GitHub
 (2 commenti) (0 reazioni) (0 assegnatari)C# (10.653 fork)batch import
area-middlewarehelp wanted

Metriche repository

Star
 (37.933 star)
Metriche merge PR
 (Merge medio 16g 9h) (258 PR mergiate in 30 g)

Descrizione

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.

Guida contributor