HttpRoute.GetRouteData truncates the Uri in the request message to calculate the relative request Uri, but in certain cases, for example when the request Uri is equal to the virtualPathRoot, the startIndex parameter points of the call to Substring points beyond the end of the string and the call will fail.
↧