Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I've godt categories and product names containing vertical-bar-sign also called pipe (http://en.wikipedia.org/wiki/Vertical_bar).
This result in server errors: "Illegal characters in path."
Product example URI: /produkter/tilbehoer/sorte-%7c-stole/sort-stol/c-23/c-70/p-105
Can this be fixed or am I forced to avoid special characters?
[ArgumentException: Illegal characters in path.] System.IO.Path.CheckInvalidPathChars(String path, Boolean checkAdditional) +10915254 System.Security.Permissions.FileIOPermission.CheckIllegalCharacters(String[] str) +30 System.Security.Permissions.FileIOPermission.AddPathList(FileIOPermissionAccess access, AccessControlActions control, String[] pathListOrig, Boolean checkForDuplicates, Boolean needFullPath, Boolean copyPathList) +97 System.Security.Permissions.FileIOPermission..ctor(FileIOPermissionAccess access, String path) +63 System.Web.InternalSecurityPermissions.PathDiscovery(String path) +29 System.Web.HttpRequest.get_PhysicalPath() +40 UrlRewritingNet.Web.UrlRewriteModule.OnBeginRequest(Object sender, EventArgs e) +71 System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +136 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +69
You could override the IurlService to encode the pipe char (umbraco has a helper if i recall correct), or just avoid using it :-)
Thankyou for the hint. Found this: http://stefantsov.com/2013/may/extending-umbraco-ucommerce-with-custom-service
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Illegal characters in path - categories and productnames
I've godt categories and product names containing vertical-bar-sign also called pipe (http://en.wikipedia.org/wiki/Vertical_bar).
This result in server errors: "Illegal characters in path."
Product example URI: /produkter/tilbehoer/sorte-%7c-stole/sort-stol/c-23/c-70/p-105
Can this be fixed or am I forced to avoid special characters?
You could override the IurlService to encode the pipe char (umbraco has a helper if i recall correct), or just avoid using it :-)
Thankyou for the hint. Found this: http://stefantsov.com/2013/may/extending-umbraco-ucommerce-with-custom-service
is working on a reply...