RFR: 8263899: HttpClient throws NPE in AuthenticationFilter when parsing www-authenticate head [v4]

Chris Hegarty chegar at openjdk.java.net
Wed Mar 24 11:22:41 UTC 2021


On Tue, 23 Mar 2021 13:45:06 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.
>
> Michael McMahon has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains six additional commits since the last revision:
> 
>  - Merge branch 'master' into 8263899
>  - fix whitespace error
>  - updated test comment
>  - Merge branch 'master' into 8263899
>  - changed test to use ephemeral port
>  - Initial fix

Marked as reviewed by chegar (Reviewer).

-------------

PR: https://git.openjdk.java.net/jdk/pull/3113


More information about the net-dev mailing list