[wp-trac] [WordPress Trac] #27668: When using HTTP Streams, check if parse_url returned a path.
WordPress Trac
noreply at wordpress.org
Fri Apr 4 12:50:19 UTC 2014
#27668: When using HTTP Streams, check if parse_url returned a path.
--------------------------+-----------------------------
Reporter: DvanKooten | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: HTTP API | Version: 3.8.1
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
When using HTTP Streams to do a remote request to a domain (with no path)
PHP's `parse_url` doesn't return an array with a `path` key.
When building the `$requestPath` variable, we should check if the `path`
is set before concatenating strings.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/27668>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list