git: openjdk/jdk17u: master: 8274779: HttpURLConnection: HttpClient and HttpsClient incorrectly check request method when set to POST

Sean Coffey coffeys at openjdk.java.net
Tue Oct 26 13:28:06 UTC 2021


Changeset: a1dc5955
Author:    Evan Whelan <ewhelan at openjdk.org>
Committer: Sean Coffey <coffeys at openjdk.org>
Date:      2021-10-26 13:26:22 +0000
URL:       https://git.openjdk.java.net/jdk17u/commit/a1dc59551727a5e50151f22d988e9700c6505dde

8274779: HttpURLConnection: HttpClient and HttpsClient incorrectly check request method when set to POST

Backport-of: 45ce06c9f3e9bee7d4bda313c38f0f0e8786a4db

! src/java.base/share/classes/sun/net/www/http/HttpClient.java
! src/java.base/share/classes/sun/net/www/protocol/https/HttpsClient.java
+ test/jdk/sun/net/www/http/RequestMethodCheck/RequestMethodEquality.java
+ test/jdk/sun/net/www/http/RequestMethodCheck/java.base/sun/net/www/http/HttpClientAccess.java



More information about the jdk-updates-changes mailing list