Проект для складирования кода ZF 1.x
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Дрябжинский Сергей 52d8739f56 Upload ZF 1.12.6 9 years ago
bin Upload ZF 1.12.6 9 years ago
demos/Zend Upload ZF 1.12.6 9 years ago
externals/dojo Upload ZF 1.12.6 9 years ago
extras Upload ZF 1.12.6 9 years ago
library/Zend Upload ZF 1.12.6 9 years ago
puppet Upload ZF 1.12.6 9 years ago
resources/languages Upload ZF 1.12.6 9 years ago
tests Upload ZF 1.12.6 9 years ago
.gitignore Upload ZF 1.12.6 9 years ago
.travis.yml Upload ZF 1.12.6 9 years ago
DEVELOPMENT_README.md Upload ZF 1.12.6 9 years ago
INSTALL.md Upload ZF 1.12.6 9 years ago
LICENSE.txt Upload ZF 1.12.6 9 years ago
README Upload ZF 1.12.6 9 years ago
README-GIT.md Upload ZF 1.12.6 9 years ago
README.md Upload ZF 1.12.6 9 years ago
Vagrantfile Upload ZF 1.12.6 9 years ago
composer.json Upload ZF 1.12.6 9 years ago



Welcome to the Zend Framework 1.12 Release!

Master: Build Status


Zend Framework 1.12.6 Release. Released on April 15, 2014.


  • #307 fixes a backwards compatibility break in the Zend_Locale component. 1.12.4 updated the CLDR version used by Zend Framework 1, which resulted in the removal of several locales we previously supported. The patch in #307 adds locale aliases for these to the new locales supported in recent versions of the CLDR, ensuring backwards compatibility for ZF1 users.


  • ZF2014-01: Potential XXE/XEE attacks using PHP functions: simplexml_load_*, DOMDocument::loadXML, and xml_parse. A new component, Zend_Xml, was introduced to mitigate XML eXternal Entity and XML Entity Expansion vectors that are present in older versions of libxml2 and/or PHP. Components that could contain these vectors include:

    • Zend_Amf
    • Zend_Config
    • Zend_Dom
    • Zend_Feed
    • Zend_Gdata
    • Zend_Json
    • Zend_Locale
    • Zend_Mobile_Push
    • Zend_Rest_Client
    • Zend_Search_Lucene
    • Zend_Serializer_Adapter_Wddx
    • Zend_Service_Amazon
    • Zend_Service_AudioScrobbler
    • Zend_Service_Delicious
    • Zend_Service_Ebay
    • Zend_Service_Flickr
    • Zend_Service_SlideShare
    • Zend_Service_SqlAzure
    • Zend_Service_Technorati
    • Zend_Service_WindowsAzure
    • Zend_Service_Yahoo
    • Zend_Soap
    • Zend_Translate

    If you use one or more of these components, we strongly urge that you upgrade immediately.

  • ZF2014-02: Potential security issue in login mechanism of Zend_OpenId consumer. Using the Consumer component in conjunction with a malicious OpenID provider, one could login to a service using an arbitrary OpenID Identity without requiring credentials, allowing impersonation of an OpenID Identity. If you use this component, we strongly urge that you upgrade immediately.


  • #221 removes the TinySrc view helper, as the TinySrc service no longer exists.
  • #222 removes the InfoCard component, as the CardSpace service no longer exists.
  • #271 removes the Nirvanix component, as the Nirvanix service shut down in October 2013.


This release incorporates is primarily aimed to update Zend_Service_Twitter to the Twitter v1.1 API:

Because the Twitter v1.1 API is not backwards compatible with v1.0, the API for Zend_Service_Twitter has been changed; if you have been using it previously, you will need to update your code accordingly. Both the end-user and API documentation have been updated to reflect the changes.


This release incorporates over 40 bugfixes. In particular, the following issue has been resolved in Zend_Service_Twitter:

This fix ensures that Zend_Service_Twitter uses the new versioned API endpoint required by Twitter.


This release incorporates fixes for:

Zend_Feed_Rss and Zend_Feed_Atom were found to contain XML eXternal Entity (XXE) Injection vectors due to insecure usage of the DOM extension. External entities could be specified by adding a specific DOCTYPE element to XML-RPC requests; exploiting this vulnerability could coerce opening arbitrary files and/or TCP connections.

A similar issue was fixed for 1.12.0, in the Zend_Feed::import() method; however, the reporter of the issue discovered that the individual classes contained similar functionality in their constructors which remained vulnerable.

The patch applied removes the XXE vector by calling libxml_disable_entity_loader() before attempting to parse the feed via DOMDocument::loadXML().

The above patches are also available in the 1.11 series of releases.

Thanks goes to Yury Dyachenko at Positive Research Center for for reporting the XXE vulnerability and reviewing the patches created to fix the issue.


This release incorporates fixes for each of:

Several components were found to be vulnerable to XML eXternal Entity (XXE) Injection attacks due to insecure usage of the SimpleXMLElement class (SimpleXML PHP extension). External entities could be specified by adding a specific DOCTYPE element to XML-RPC requests; exploiting this vulnerability could coerce opening arbitrary files and/or TCP connections.

Additionally, these same components were found to be vulnerable to XML Entity Expansion (XEE) vectors. XEE attacks define custom entities within the DOCTYPE that refer to themselves, leading to recursion; the end result is excessive consumption of CPU and RAM, making Denial of Service (DoS) attacks easier to implement.

Vulnerable components included:

  • Zend_Dom
  • Zend_Feed
  • Zend_Soap
  • Zend_XmlRpc

The patches applied do the following:

  • To remove XXE vectors, libxml_disable_entity_loader() is called before any SimpleXML calls are executed.

  • To remove XEE vectors, we loop through the DOMDocument child nodes, ensuring none are of type XML_DOCUMENT_TYPE_NODE, and raising an exception if any are. If SimpleXML is used, a DOMDocument is created first, processed as above, and then passed to simplexml_import_dom.

The above patches are also available in the 1.11 series of releases.

Thanks goes to Johannes Greil and Kestutis Gudinavicius of SEC-Consult for reporting the original XXE vulnerability against Zend_XmlRpc and working with us to provide a working solution. Thanks goes to Pádraic Brady for helping us identify other XXE vectors, as well as identifying and patching the XEE vectors.


Zend_Loader changes

A number of autoloaders and autoloader facilities were back ported from ZF2 to provide performant alternatives to those already available in the 1.X releases. These include: Zend_Loader_StandardAutoloader, which improves on Zend_Loader_Autoloader by allowing the ability to specify a specific path to associate with a vendor prefix or namespace; Zend_Loader_ClassMapAutoloader, which provides the ability to use lookup tables for autoloading (which are typically the fastest possible way to autoload); and Zend_Loader_AutoloaderFactory, which can both create and update autoloaders for you, as well as register them with spl_autoload_register().

The Zend_Loader changes were back ported from ZF2 by Matthew Weier O’Phinney


Zend_EventManager is a component that allows you to attach and detach listeners to named events, both on a per-instance basis as well as via shared collections; trigger events; and interrupt execution of listeners.

Zend_EventManager was back ported from ZF2 by Matthew Weier O’Phinney


This class provides a features adapter that calls get_browser() in order to discover mobile device capabilities to inject into UserAgent device instances.

Browscap (http://browsers.garykeith.com/) is an open project dedicated to collecting an disseminating a “database” of browser capabilities. PHP has built-in support for using these files via the get_browser() function. This function requires that your php.ini provides a browscap entry pointing to the PHP-specific php_browscap.ini file which is available at http://browsers.garykeith.com/stream.asp?PHP_BrowsCapINI.

Zend_Http_UserAgent_Features_Adapter_Browscap was created by Matthew Weier O’Phinney


Zend_Mobile_Push is a component for implementing push notifications for the 3 major push notification platforms (Apple (Apns), Google (C2dm) and Microsoft (Mpns).

Zend_Mobile_Push was contributed by Mike Willbanks.


Zend_Gdata_Analytics is an extension to Zend_Gdata to allow interaction with Google’s Analytics Data Export API. This extension does not encompass any major changes in the overall operation of Zend_Gdata components.

Zend_Gdata_Analytics was contributed by Daniel Hartmann.

Removed features


Due to the changes in licensing of WURFL, we have removed the WurflApi adapter. We will be providing the WurflApi adapter to ScientiaMobile so that users of WURFL will still have that option.

Bug Fixes

In addition, over 200 reported issues in the tracker have been fixed. We’d like to particularly thank Adam Lundrigan, Frank Brückner and Martin Hujer for their efforts in making this happen. Thanks also to the many people who ran the ZF1 unit tests and reported their results!

For a complete list of closed issues beginning with 1.12.3, visit:


A detailed list of migration notes may be found at:



Zend Framework requires PHP 5.2.11 or later. Please see our reference guide for more detailed system requirements:



Please see INSTALL.md.


This repository was created based on the release-1.12 branch of a Subversion repository, http://framework.zend.com/svn/framework/standard/. It contains a subset of the project history, dating from between the 1.5.0 and 1.6.0 releases, and only contains the tags for the 1.12 series. If you would like an older version, you may access the subversion repository linked above, or download an older version from http://framework.zend.com/downloads/archives.




Online documentation can be found at http://framework.zend.com/manual. Questions that are not addressed in the manual should be directed to the appropriate mailing list:

If you find code in this release behaving in an unexpected manner or contrary to its documented behavior, please create an issue in the Zend Framework issue tracker at:

If you would like to be notified of new releases, you can subscribe to the fw-announce mailing list by sending a blank message to:


The files in this archive are released under the Zend Framework license. You can find a copy of this license in LICENSE.txt.


The Zend Framework team would like to thank all the contributors to the Zend Framework project, our corporate sponsor, and you, the Zend Framework user. Please visit us sometime soon at http://framework.zend.com.