I'm trying to remove unwanted additional forward slashes in my URLs. For example:
"http://www.domain.com//" and "http://www.domain.com///"
should redirect to:
"http://www.domain.com"
I'm using the IIS URL rewrite module. Here is what I have so far:
<rule name="RedirectForwardSlash" stopProcessing="true">
<match url="//+$" />
<action type="Redirect" url="default.aspx" appendQueryString="true" redirectType="Permanent" />
</rule>