Make WordPress Core

Opened 7 years ago

Last modified 4 years ago

#48457 new defect (bug)

Requests library depends on PHP zlib

Reported by: Clorith Owned by:
Priority: normal Milestone: Awaiting Review
Component: External Libraries Version: 4.6
Severity: normal Keywords: close
Cc: Focuses:

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.

Change History (1)

#1 @desrosj
4 years ago

  • Keywords close added

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?

Note: See TracTickets for help on using tickets.