Closed mikaelm12 closed 7 years ago
@jkotalik ? There was a reason for this. Something about how none of the providers wanted you give the leading slash.
We need to have consistency between all three implementations. This, I believe, breaks it. For example: https://www.iis.net/learn/extensions/url-rewrite-module/creating-rewrite-rules-for-the-url-rewrite-module
<rewrite>
<rules>
<rule name="Rewrite to article.aspx">
<match url="^article/([0-9]+)/([_0-9a-z-]+)" />
<action type="Rewrite" url="article.aspx?id={R:1}&title={R:2}" />
</rule>
</rules>
</rewrite>
IIS rules explicitly match on no leading slash, as well as mod_rewrite. Changing it to require leading slashes for normal rules removes consistency.
Yeah, let's close this.
Some of the changes for style are good though
Alright. I'll scrap this then
In response to issue #80 @natemcmaster @Tratcher @muratg