Re: RFR: 8276798: HttpURLConnection sends invalid HTTP request

2022-06-07 Thread Jaikiran Pai
On Mon, 6 Jun 2022 09:43:50 GMT, Jaikiran Pai wrote: > tier1, tier2 and tier3 tests have passed without issues. Additionally, the reproducer attached to the JBS issue has been run locally. The test fails regularly without this change and hasn't failed even once after this change. ---

Re: RFR: 8282395: URL.openConnection can throw IOOBE [v2]

2022-06-07 Thread KIRIYAMA Takuya
> I fixed sun.net.www.ParseUtil.decode(). > > ParseUtil.decode() always tries to decode after parsing '%', so if '%' is > located at the end of the String, IndexOutOfBoundsException is thrown. Also, > if '%' is shown after decodable string and following string is not decodable > (e.g: "%25%s%G1

Re: RFR: 8282395: URL.openConnection can throw IOOBE

2022-06-07 Thread KIRIYAMA Takuya
On Fri, 8 Apr 2022 07:52:55 GMT, KIRIYAMA Takuya wrote: > I fixed sun.net.www.ParseUtil.decode(). > > ParseUtil.decode() always tries to decode after parsing '%', so if '%' is > located at the end of the String, IndexOutOfBoundsException is thrown. Also, > if '%' is shown after decodable strin