#27668 closed defect (bug) (fixed)
When using HTTP Streams, check if parse_url returned a path.
| Reported by: | DvanKooten | Owned by: | dd32 |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.1 |
| Component: | HTTP API | Version: | 3.8.1 |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: |
Description
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.
Attachments (1)
Change History (5)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
In 29853: