You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
gregfig opened this issue
Oct 14, 2019
· 2 comments
Assignees
Labels
area-mvcIncludes: MVC, Actions and Controllers, Localization, CORS, most templatesbugThis issue describes a behavior which is not expected - a bug.DoneThis issue has been fixed
I can repro this. The issue is in how the static file provider checks for the path, it reencoded the rest of the segments and passes down the encoded version to the underlying file provider.
ghost
locked as resolved and limited conversation to collaborators
Dec 2, 2019
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
area-mvcIncludes: MVC, Actions and Controllers, Localization, CORS, most templatesbugThis issue describes a behavior which is not expected - a bug.DoneThis issue has been fixed
If any files (images for example) contain a space. When they are coded with %20 they are not resolved.
To reproduce.
In my test app. https://localhost:44362/_content/RclTestCore3/MoneyBag.png resolves just fine.
However, https://localhost:44362/_content/RclTestCore3/Piggy Bank.png, which gets encoded as https://localhost:44362/_content/RclTestCore3/Piggy%20Bank.png, will return a 404 error.
I can workaround this by removing the spaces, but I happen to have a lot of images with spaces in their filenames.
Thanks
The text was updated successfully, but these errors were encountered: