Description
When requesting a download_url for a recording from browser, a location header is correctly sent with the 302 response. When requesting this same download_url using PHP’s fopen()/fread() the header is apparently not sent.
Error
as reported by get_headers(), with potentially identifying/authenticating information snipped
array(21) {
[0]=>
string(13) “Sorry, New Users Can Only Put 2 Links Per Post/1.1 302 "
[1]=>
string(35) “Date: Thu, 27 Aug 2020 15:39:14 GMT”
[2]=>
string(17) “Connection: close”
[3]=>
string(12) “Server: ZOOM”
[4]=>
string(53) “x-zm-trackingid: SNIPPED”
[5]=>
string(31) “X-Robots-Tag: noindex, nofollow”
[6]=>
string(31) “X-Content-Type-Options: nosniff”
[7]=>
string(69) “Set-Cookie: zm_cluster=aw1; Domain=.Sorry, New Users Can Only Put 2 Links Per Post; Path=/; Secure; HttpOnly”
[8]=>
string(84) “Set-Cookie: zm_aid=SNIPPED; Domain=.Sorry, New Users Can Only Put 2 Links Per Post; Path=/; Secure; HttpOnly”
[9]=>
string(66) “Set-Cookie: zm_haid=SNIPPED; Domain=.Sorry, New Users Can Only Put 2 Links Per Post; Path=/; Secure; HttpOnly”
[10]=>
string(75) “Set-Cookie: cred=SNIPPED; Path=/; Secure; HttpOnly”
[11]=>
string(97) “Set-Cookie: _zm_page_auth=SNIPPED; Domain=.Sorry, New Users Can Only Put 2 Links Per Post; Path=/; Secure; HttpOnly”
[12]=>
string(54) “p3p: CP=“NOI ADM DEV PSAi COM NAV OUR OTR STP IND DEM””
[13]=>
string(92) “Set-Cookie: _zm_ssid=SNIPPED; Domain=.Sorry, New Users Can Only Put 2 Links Per Post; Path=/; Secure; HttpOnly”
[14]=>
string(106) “Set-Cookie: _zm_ctaid=””; Domain=.Sorry, New Users Can Only Put 2 Links Per Post; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; Secure; HttpOnly"
[15]=>
string(107) “Set-Cookie: _zm_chtaid=”"; Domain=.Sorry, New Users Can Only Put 2 Links Per Post; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; Secure; HttpOnly"
[16]=>
string(98) “Set-Cookie: _zm_lang=en-US; Domain=.Sorry, New Users Can Only Put 2 Links Per Post; Expires=Fri, 27-Aug-2021 15:39:14 GMT; Path=/; Secure”
[17]=>
string(69) “Set-Cookie: _zm_date_format=mm/dd/yy; Domain=.Sorry, New Users Can Only Put 2 Links Per Post; Path=/; Secure”
[18]=>
string(62) “Strict-Transport-Security: max-age=31536000; includeSubDomains”
[19]=>
string(31) “X-XSS-Protection: 1; mode=block”
[20]=>
string(48) “Referrer-Policy: strict-origin-when-cross-origin”
}
Which App Type (OAuth / Chatbot / JWT / Webhook)?
JWT
Which Endpoint/s?
/meetings/{$meetingId}/recordings
How To Reproduce (If applicable)
Steps to reproduce the behavior:
- /rec/download/XXXXXX?access_token=XXXXXXX
- See error
Additional context
N/A