IIS7 & UrlRewrite only searching first attribute for outbound rewrite rules?
===

I have a simple farm setup using the ARR module on IIS7.  To handle keeping the links on web pages the same regardless of which physical server in the farm serves the request I am using the UrlRewrite module.  I was working on an MVC site using the Ajax.ActionLink helper method and noticed something that seems very strange.  I'm not sure if this is an MVC or UrlRewrite issue but here it goes.

Basically, it looks like the outbound rule on the ARR server is not seeing the href attribute on the generated anchor tag if it is not the first attribute in the element. 

For example, a call to Ajax.Action link as follows:

    @Ajax.ActionLink("Test", "Select", "Person", new AjaxOptions {HttpMethod = "GET", Confirm="Are you sure?"})

generates the following HTML:

    <a data-ajax="true" data-ajax-confirm="Are you sure?" data-ajax-method="GET" href="/<Physical server directory>/Person/Select">Test</a>

Notice that the href attribute is the last attribute in the element.  When this comes back through the ARR server the URLRewrite module doesn't pick up on the href attribute and doesn't rewrite the URL.  I added FailedRequestLogging to see how the routing rules were being applied and it appears that anchor tag isn't even being counted as a potential candidate to be rewritten (there are a total of 9 links on the page but the logs only show it checking 8).

I added a second test link to my page basically the same as above but with the href attribute first instead of last (still with the physical server directory) and the rewrite module picks that up and rewrites the outgoing URL correctly.

I couldn't find anything that stated that the href attribute has to appear first or at least before the data- attributes used by MVC but then again I also couldn't find anything that stated that the URLRewrite module only examined the first X attributes on a particular tag.

Has anyone else seen this behavior?  Is there a way around it short of overriding / wrapping the Ajax.ActionLink helper method to move the href attribute to the beginning?

Thanks in advance!