statiqdev / Statiq.Web

Statiq Web is a flexible static site generator written in .NET.
https://statiq.dev/web
Other
1.64k stars 235 forks source link

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

Closed Vladekk closed 3 years ago

Vladekk commented 3 years ago

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.

CLAassistant commented 3 years ago

CLA assistant check
All committers have signed the CLA.

daveaglick commented 3 years ago

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 commented 3 years ago

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 commented 3 years ago

Thanks again!