Integrated: 8263899: HttpClient throws NPE in AuthenticationFilter when parsing www-authenticate head
    Michael McMahon 
    michaelm at openjdk.java.net
       
    Wed Mar 24 12:02:40 UTC 2021
    
    
  
On Mon, 22 Mar 2021 09:26:08 GMT, Michael McMahon <michaelm at openjdk.org> wrote:
> Could I get the following simple fix reviewed please? 
> 
> The bug is jdk.internal.net.http.AuthenticationFilter throws an NPE wrapped in an IOException if it receives a HTTP response containing a WWW-Authenticate header with no value.
> 
> Thanks,
> Michael.
This pull request has now been integrated.
Changeset: e55aa41f
Author:    Michael McMahon <michaelm at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/e55aa41f
Stats:     79 lines in 2 files changed: 78 ins; 0 del; 1 mod
8263899: HttpClient throws NPE in AuthenticationFilter when parsing www-authenticate head
Reviewed-by: dfuchs, chegar
-------------
PR: https://git.openjdk.java.net/jdk/pull/3113
    
    
More information about the net-dev
mailing list