1

If I add the rule to enforce a trailing slash to the urls in my application, it breaks when I redirect to a parameterized URL, such as www.mysite.com/state/city?lat=x&lng=y

Does anyone know how to handle trailing slashes when such parameters exist?

1 Answer 1

1

Maybe look at RouteConfig.cs and routes.AppendTrailingSlash see if this fixes the issue.

Sign up to request clarification or add additional context in comments.

1 Comment

I haven't tried that yet bu I have a feeling this is correct because of other changes to routing.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.