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

Fixed bug that prevented processing of non-ascii symbols #918

Merged
merged 2 commits into from
Oct 2, 2020

Conversation

Vladekk
Copy link
Contributor

@Vladekk Vladekk commented Sep 19, 2020

context.Request.Path.ToString() was leaving url encoded symbols as is. It means when further code tried to check if file exists on disc, result was always false in case of non-latin filenames.

I am not sure if any additional code is neccessary here. For some reason, I can't open and run Statiq solution on my PC properly.

context.Request.Path.ToString() was leaving url encoded symbols as is. It means when further code tried to check if file exists on disc, result was always false in case of non-latin filenames.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
…g-of-non-ascii-symbols

Fixed bug that prevented processing of non-ascii urls
@CLAassistant
Copy link

CLAassistant commented Sep 19, 2020

CLA assistant check
All committers have signed the CLA.

@daveaglick
Copy link
Member

Thanks a ton for running this down! What's a good filename I can use to test locally just to verify the fix for you?

@Vladekk
Copy link
Contributor Author

Vladekk commented Sep 22, 2020

Thanks a ton for running this down! What's a good filename I can use to test locally just to verify the fix for you?

Just use any cyrillic word, for example Тест, which means Test.

@daveaglick
Copy link
Member

Thanks again!

@daveaglick daveaglick merged commit 4cc1558 into statiqdev:main Oct 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants