[wp-trac] [WordPress Trac] #48457: Requests library depends on PHP zlib

WordPress Trac noreply at wordpress.org
Tue Oct 29 10:56:23 UTC 2019


#48457: Requests library depends on PHP zlib
--------------------------------+-----------------------------
 Reporter:  Clorith             |      Owner:  (none)
     Type:  defect (bug)        |     Status:  new
 Priority:  normal              |  Milestone:  Awaiting Review
Component:  External Libraries  |    Version:  4.6
 Severity:  normal              |   Keywords:
  Focuses:                      |
--------------------------------+-----------------------------
 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.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/48457>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list