Fixing custom url generation

This commit is contained in:
Sebastien Ros
2014-03-21 10:37:23 -07:00
parent 6e8e010fe2
commit d42555218b

View File

@@ -97,6 +97,9 @@ namespace Orchard.Core.Navigation.Services {
if (!String.IsNullOrEmpty(_shellSettings.RequestUrlPrefix)) {
url = _shellSettings.RequestUrlPrefix + "/" + url.Substring(2);
}
else {
url = url.Substring(2);
}
}
if (!url.StartsWith("#")) {
var appPath = _urlHelper.RequestContext.HttpContext.Request.ApplicationPath;