Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 318341c

Browse filesBrowse files
author
Michael Christopher
committed
Version 1.3
1 parent 8a7fa14 commit 318341c
Copy full SHA for 318341c

File tree

3 files changed

+25
-5
lines changed
Filter options

3 files changed

+25
-5
lines changed

‎README.markdown

Copy file name to clipboardExpand all lines: README.markdown
+3-2Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ Zencoder API PHP Library
33

44
Author: [Steve Heffernan](http://www.steveheffernan.com) (steve (a) zencoder (.) com)
55
Company: [Zencoder - Online Video Encoder](http://zencoder.com)
6-
Version: 1.2
7-
Date: 2011-08-06
6+
Version: 1.3
7+
Date: 2011-09-21
88
Repository: <http://github.com/zencoder/zencoder-php/>
99

1010
For more details on the Zencoder API requirements visit
@@ -195,6 +195,7 @@ Your [notifications page](https://app.zencoder.com/notifications) will come in h
195195

196196
VERSIONS
197197
---------
198+
Version 1.3 - 2011-09-21 Fixed bundled SSL certification chain and made catch_and_parse() static
198199
Version 1.2 - 2011-08-06 Added fixes for PHP Notices and SSL handling
199200
Version 1.1 - 2010-06-04 Added General API Requests
200201
Version 1.0 - 2010-04-02 Jobs and Notifications.

‎Zencoder.php

Copy file name to clipboardExpand all lines: Zencoder.php
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
88
*/
99
define('ZENCODER_LIBRARY_NAME', "ZencoderPHP");
10-
define('ZENCODER_LIBRARY_VERSION', "1.2");
10+
define('ZENCODER_LIBRARY_VERSION', "1.3");
1111

1212
// Add JSON functions for PHP < 5.2.0
1313
if(!function_exists('json_encode')) {
@@ -179,7 +179,7 @@ class ZencoderCURL {
179179
CURLOPT_CONNECTTIMEOUT => 0, // Time in seconds to timeout send request. 0 is no timeout.
180180
CURLOPT_FOLLOWLOCATION => 1, // Follow redirects.
181181
CURLOPT_SSL_VERIFYPEER => 1,
182-
CURLOPT_SSL_VERIFYHOST => 1
182+
CURLOPT_SSL_VERIFYHOST => 2
183183
);
184184

185185
var $connected;
@@ -253,7 +253,7 @@ function ZencoderOutputNotification($params) {
253253
if(!empty($params["job"])) $this->job = new ZencoderJob($params["job"], array("build" => true));
254254
}
255255

256-
function catch_and_parse() {
256+
static function catch_and_parse() {
257257
$notificiation_data = json_decode(trim(file_get_contents('php://input')), true);
258258
return new ZencoderOutputNotification($notificiation_data);
259259
}

‎lib/zen_ca_chain.crt

Copy file name to clipboardExpand all lines: lib/zen_ca_chain.crt
+19Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,3 +49,22 @@ EvrRI5YPv5wN8nlFUzeaVi/oVxBw9u6JDEmJmsEj9cIqzEHPIqtlbreUgm0vQF9Y
4949
3uuVK6ZyaFIZkSqudZ1OkubK3lTqGKslPOZkpnkfJn1h7X3S5XFV2JMXfBQ4MDzf
5050
huNMrUnjl1nOG5srztxl1Asoa06ERlFE9zMILViXIa4=
5151
-----END CERTIFICATE-----
52+
-----BEGIN CERTIFICATE-----
53+
MIIDJzCCApCgAwIBAgIBATANBgkqhkiG9w0BAQQFADCBzjELMAkGA1UEBhMCWkEx
54+
FTATBgNVBAgTDFdlc3Rlcm4gQ2FwZTESMBAGA1UEBxMJQ2FwZSBUb3duMR0wGwYD
55+
VQQKExRUaGF3dGUgQ29uc3VsdGluZyBjYzEoMCYGA1UECxMfQ2VydGlmaWNhdGlv
56+
biBTZXJ2aWNlcyBEaXZpc2lvbjEhMB8GA1UEAxMYVGhhd3RlIFByZW1pdW0gU2Vy
57+
dmVyIENBMSgwJgYJKoZIhvcNAQkBFhlwcmVtaXVtLXNlcnZlckB0aGF3dGUuY29t
58+
MB4XDTk2MDgwMTAwMDAwMFoXDTIwMTIzMTIzNTk1OVowgc4xCzAJBgNVBAYTAlpB
59+
MRUwEwYDVQQIEwxXZXN0ZXJuIENhcGUxEjAQBgNVBAcTCUNhcGUgVG93bjEdMBsG
60+
A1UEChMUVGhhd3RlIENvbnN1bHRpbmcgY2MxKDAmBgNVBAsTH0NlcnRpZmljYXRp
61+
b24gU2VydmljZXMgRGl2aXNpb24xITAfBgNVBAMTGFRoYXd0ZSBQcmVtaXVtIFNl
62+
cnZlciBDQTEoMCYGCSqGSIb3DQEJARYZcHJlbWl1bS1zZXJ2ZXJAdGhhd3RlLmNv
63+
bTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA0jY2aovXwlue2oFBYo847kkE
64+
VdbQ7xwblRZH7xhINTpS9CtqBo87L+pW46+GjZ4X9560ZXUCTe/LCaIhUdib0GfQ
65+
ug2SBhRz1JPLlyoAnFxODLz6FVL88kRu2hFKbgifLy3j+ao6hnO2RlNYyIkFvYMR
66+
uHM/qgeN9EJN50CdHDcCAwEAAaMTMBEwDwYDVR0TAQH/BAUwAwEB/zANBgkqhkiG
67+
9w0BAQQFAAOBgQAmSCwWwlj66BZ0DKqqX1Q/8tfJeGBeXm43YyJ3Nn6yF8Q0ufUI
68+
hfzJATj/Tb7yFkJD57taRvvBxhEf8UqwKEbJw8RCfbz6q1lu1bdRiBHjpIUZa4JM
69+
pAwSremkrj/xw0llmozFyD4lt5SZu5IycQfwhl7tUCemDaYj+bvLpgcUQg==
70+
-----END CERTIFICATE-----

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.