mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +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