Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AppendTrailingSlash = false breaks web site #25

Closed
safepage opened this issue Sep 14, 2015 · 3 comments
Closed

AppendTrailingSlash = false breaks web site #25

safepage opened this issue Sep 14, 2015 · 3 comments
Labels
bug Issues describing a bug or pull requests fixing a bug.

Comments

@safepage
Copy link

Hi, changing the AppendTrailingSlash value to false breaks the web site, i.e home page returns "This page can’t be displayed".

I appreciate this is your preferred choice, but it would be good if it worked both ways.

Thanks

@RehanSaeed
Copy link
Member

You are correct, that should work. I'll take a look this evening as to why it is failing. Is this MVC 5 or 6?

@safepage
Copy link
Author

MVC 5

@RehanSaeed
Copy link
Member

I've made an update to the Boilerplate.Web.Mvc5 NuGet package. Could you please update to version 1.0.20 and confirm that all is well so I can update the project template to use the new version.

Interestingly, the bug was only affecting the home page. I should not have added or removed a trailing slash for the home page as both are equivalent. Web browsers seem to behave differently too depending on which one you use.

@RehanSaeed RehanSaeed added the bug Issues describing a bug or pull requests fixing a bug. label Dec 18, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issues describing a bug or pull requests fixing a bug.
Projects
None yet
Development

No branches or pull requests

2 participants