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

Added query to translated index page cause 404 exception #383

Open
tomasr78 opened this issue Jan 18, 2019 · 6 comments
Open

Added query to translated index page cause 404 exception #383

tomasr78 opened this issue Jan 18, 2019 · 6 comments

Comments

@tomasr78
Copy link

tomasr78 commented Jan 18, 2019

I add i18n to MVC and set one locale file PT (Portuguese), the problem which I find is that if query parameter is set to index page it cause 404 error.

Let's say

http://localhost:9001/pt works fine and opens Index web page in Portuguese, if query added http://localhost:9001/pt?a=1 the page do not works anymore and generates 404.

Any idea why and how to solve this?

This happens only on Index page, the http://localhost:9001/pt/my-non-index-page?a=1 works fine even with query.

Using latest 2.1.14 NuGet release.

@tomasr78 tomasr78 changed the title Add query to translated index page cause 404 exception Added query to translated index page cause 404 exception Jan 18, 2019
@tomasr78
Copy link
Author

Does silence means that this is know issue and no solution yet or that no one read this yet and I should be more patient.

@turquoiseowl
Copy link
Owner

Thanks for reporting this. I've just made some changes that hopefully fixes this. Please try new release: 2.1.15-pre000

@tomasr78
Copy link
Author

Thank you. When are you planning to release NuGet package?

@turquoiseowl
Copy link
Owner

I was thinking of leaving it as a pre-release package until other future changes can be rolled up. Saves a bit of effort at my end.

Can you work with the pre-release Nuget package?

@tomasr78
Copy link
Author

I have tried the pre-release version and it still doesn't solve the problem with query parameters in the index page - 404 error.

@vhatuncev
Copy link
Contributor

@tomasr78 can you please provide your routing configuration here? I suspect you have issues there, not in i18n.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants