mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
Fixing unit tests
--HG-- branch : 1.x
This commit is contained in:
@@ -25,7 +25,7 @@ namespace Orchard.Mvc.Extensions {
|
||||
}
|
||||
|
||||
public static string MakeAbsolute(this UrlHelper urlHelper, string url, string baseUrl = null) {
|
||||
if(url.StartsWith("http", StringComparison.OrdinalIgnoreCase)) {
|
||||
if(url != null && url.StartsWith("http", StringComparison.OrdinalIgnoreCase)) {
|
||||
return url;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user