mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-01-02 20:42:45 +08:00
Fixed Specific url's in SecureSocketsLayer not redirected to https
Fixes #5294
This commit is contained in:
committed by
Sébastien Ros
parent
b0393a0780
commit
b292269f2b
@@ -97,7 +97,7 @@ namespace Orchard.SecureSocketsLayer.Services {
|
|||||||
if (!settings.CustomEnabled) return false;
|
if (!settings.CustomEnabled) return false;
|
||||||
|
|
||||||
var urlHelper = new UrlHelper(requestContext);
|
var urlHelper = new UrlHelper(requestContext);
|
||||||
var url = urlHelper.Action(actionName, controllerName, requestContext.RouteData);
|
var url = urlHelper.Action(actionName, controllerName, requestContext.RouteData.Values);
|
||||||
|
|
||||||
if (String.IsNullOrWhiteSpace(url)) {
|
if (String.IsNullOrWhiteSpace(url)) {
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
Reference in New Issue
Block a user