[ 
https://issues.apache.org/jira/browse/WICKET-3173?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Brian Topping closed WICKET-3173.
---------------------------------

    
> Fix for WICKET-2903 causes NPE when HttpsConfig is intentionally null
> ---------------------------------------------------------------------
>
>                 Key: WICKET-3173
>                 URL: https://issues.apache.org/jira/browse/WICKET-3173
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.4.13, 1.5-M3
>            Reporter: Brian Topping
>            Assignee: Igor Vaynberg
>            Priority: Minor
>             Fix For: 1.4.14
>
>         Attachments: WICKET-3173.patch, test-WICKET-3173.patch
>
>   Original Estimate: 10m
>  Remaining Estimate: 10m
>
> The patch in WICKET-2903 is not as robust as it needs to be.  Throughout the 
> code in HttpsRequestCycleProcessor.java, there are a number of conditionals 
> on whether portConfig is null, clearly making the null state an acceptable 
> value.  But HttpsRequestCycleProcessor.resolve() now calls 
> portConfig.isPreferStateful() without first checking to see if the portConfig 
> is null.  
> For the interested, my application leaves portConfig set to null when I would 
> like to avoid a redirect to https, for instance in development on a machine 
> that does not have SSL set up.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to