There is an unsaved comment in progress. You will lose your changes if you continue. Are you sure you want to reopen the work item?
Exception in new Orchard.SecureSocketLayer module on Home page display
I am getting an exception in method SecureSocketsLayerService.ShouldBeSecure when my site try to display its home page, it renders an HTTP 500, but admin pages display normally.
My ssl config is : use selected secured paths, not all pages.
The exception occurs in the following lines of SecureSocketsLayerService.ShouldBeSecure
var url = urlHelper.Action(actionName, controllerName, requestContext.RouteData);
return IsRequestProtected( url, requestContext.HttpContext.Request.ApplicationPath, settings);
urlHelper.Action(....) returns a null value
With the parameters
Id (in RouteDtata): 12
requestContext.RouteData ->Datatoken count=0, Route & RouteHandler null=null
If I catch the exception my page displays ok and all is Ok ?
My Orchard is compiled with .net 4.5
EDIT: Please do note that the property file is market as content and not Compile as it should.