Vulnerability in EPiServer.Forms

Try our conversational search powered by Generative AI!

404 error for image file requests with special characters


Hi, We are having issues with image file names having special characters like '+' . e.g:

Requests like <httpprotocol>://upload/FirstName+LastName.jpg throws 404 error. Where as the ones like <httpprotocol>:/upload/FirstName.jpg work fine.

We are using EPiServer VirtualPathNativeProvider and the site is built on CMS 6 R2. We tried setting IllegalCharactersRegEx for the virtualpath (episerver.config), but it doesnt work. Am I missing any configuration? Any suggestions would be really helpful.

Thanks, senthil.

Feb 15, 2012 16:26

Did you find any answer to this?


We are having the same issue. It seems you can't use '+' when you rename the file in the file manager but since we import images as commerce assets from InRiver it can have '+' and '%' but then we get an 404 when we try to open the image.

Feb 05, 2014 15:17

Have you tried using the encoded URL for these references, for instance "[path]/FirstName%2BLastname"?

Feb 05, 2014 16:01
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.