Re: HTTPS not working with InjectPage or Class

JumpStart <[email protected]>
Newsgroups gmane.comp.java.tapestry.user
Message-ID <[email protected]>
I’ve created https://issues.apache.org/jira/browse/TAP5-2577 .
 
> On 15 Apr 2017, at 6:36 PM, JumpStart <[email protected]> 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;
>             }
>         }
> 
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.