I’ve created https://issues.apache.org/jira/browse/TAP5-2577 .
 
> On 15 Apr 2017, at 6:36 PM, JumpStart <geoff.callender.jumpst...@gmail.com> 
> wrote:
> 
> 
>         if (request.isSecure() == securePage) 
>         {
>             if (request.isSecure() && 
> request.getAttribute("servletAPI.scheme").equals("https")
>               || !request.isSecure() && 
> request.getAttribute("servletAPI.scheme").equals("http")) 
>             {
>                     return securePage ? LinkSecurity.SECURE : 
> LinkSecurity.INSECURE;
>             }
>             else 
>             {
>                 return securePage ? LinkSecurity.FORCE_SECURE : 
> LinkSecurity.FORCE_INSECURE;
>             }
>         }
> 
> 

Reply via email to