RFR: 8282395: URL.openConnection can throw IOOBE
KIRIYAMA Takuya
duke at openjdk.java.net
Thu Apr 14 07:00:14 UTC 2022
On Fri, 8 Apr 2022 09:01:40 GMT, Daniel Fuchs <dfuchs at openjdk.org> wrote:
> MalformedURLException should probably be thrown instead of simply accepting a malformed % encoded pair.
Thank you very much for your comment.
I think we should accept any codes like "%25%s%G1" according to URL standard.
Is there a reason why an exception should be thrown?
-------------
PR: https://git.openjdk.java.net/jdk/pull/8155
More information about the net-dev
mailing list