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?

asked Jan 8, 2015 at 14:31

1 Answer 1

1

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

answered Feb 10, 2015 at 10:13
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

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

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.