mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-02-09 09:16:41 +08:00
Fixing custom url generation
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user