Opened 5 years ago
Last modified 2 years ago
#48457 new defect (bug)
Requests library depends on PHP zlib
Reported by: | Clorith | Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | normal | Version: | 4.6 |
Component: | External Libraries | Keywords: | close |
Focuses: | Cc: |
Description
Currently the Requests library checks for zlib in some locations, but not others, before using it.
This means it's possible to get a fatal error because gzinflate()
is undefined, for example when trying to fetch content from the WordPress.org API.
Specifically noticed in compatible_gzinflate()
, at line 947.
Note: See
TracTickets for help on using
tickets.
I'm thinking this should be closed as
reported-upstream
once a report is filed on WordPress/Requests.@Clorith are you able to confirm if this issue still exists and file an issue over there if so?