Fixed Specific url's in SecureSocketsLayer not redirected to https

Fixes #5294
This commit is contained in:
Arjan Noordende
2016-04-29 17:08:43 +01:00
committed by Sébastien Ros
parent b0393a0780
commit b292269f2b

View File

@@ -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;