mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-22 03:37:25 +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;
|
||||
|
||||
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)) {
|
||||
return false;
|
||||
|
Reference in New Issue
Block a user