mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
#18527: Fixing Live Writer with virtual apps
Work Item: 18527 --HG-- branch : 1.x
This commit is contained in:
@@ -26,7 +26,7 @@ namespace Orchard.Mvc.Extensions {
|
||||
|
||||
public static string MakeAbsolute(this UrlHelper urlHelper, string url, string baseUrl = null) {
|
||||
if(String.IsNullOrEmpty(baseUrl)) {
|
||||
baseUrl = urlHelper.RequestContext.HttpContext.Request.ToRootUrlString();
|
||||
baseUrl = urlHelper.RequestContext.HttpContext.Request.ToApplicationRootUrlString();
|
||||
}
|
||||
|
||||
if(String.IsNullOrEmpty(url)) {
|
||||
|
Reference in New Issue
Block a user