Details
-
Type:
Bug
-
Status: Closed
-
Priority:
P3
-
Resolution: Duplicate
-
Affects Version/s: unknown
-
Fix Version/s: None
-
Component/s: core-libs
-
Labels:
-
Subcomponent:
-
CPU:generic
-
OS:generic
Description
The URLConnection implementaiton for HTTP URLs doesn't check the doOutput
flag before returning an output stream from getOutputStream. This lets one get
a connection on which output should not be done.
flag before returning an output stream from getOutputStream. This lets one get
a connection on which output should not be done.
Attachments
Issue Links
- duplicates
-
JDK-1262782 You can getOutputStream from an HTTP URL connection even if doOutput is false
-
- Closed
-