Skip to content

Commit 022a51d

Browse files
committed
1.1.15 release.
1 parent f0fee98 commit 022a51d

5 files changed

Lines changed: 13 additions & 4 deletions

File tree

CHANGELOG

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
Yii Framework Change Log
22
========================
33

4+
Version 1.1.15 June 29, 2014
5+
----------------------------
6+
- Bug (CVE-2014-4672): CDetailView may be exploited to allow executing arbitrary PHP script on the server (cebe, qiangxue)
7+
48
Version 1.1.14 August 11, 2013
59
------------------------------
610
- Bug: There was unnecessary echo in CRUD views generated by Gii (samdark)

UPGRADE

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Upgrading Instructions for Yii Framework v1.1.14
1+
Upgrading Instructions for Yii Framework v1.1.15
22
================================================
33

44
!!!IMPORTANT!!!
@@ -17,6 +17,11 @@ General upgrade instructions
1717
- Check if everything is OK, if not — revert from backup and post
1818
issues to Yii issue tracker.
1919

20+
21+
Upgrading from v1.1.14
22+
----------------------
23+
24+
2025
Upgrading from v1.1.13
2126
----------------------
2227

framework/YiiBase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ class YiiBase
8080
*/
8181
public static function getVersion()
8282
{
83-
return '1.1.14';
83+
return '1.1.15';
8484
}
8585

8686
/**

framework/yiilite.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ class YiiBase
4040
private static $_logger;
4141
public static function getVersion()
4242
{
43-
return '1.1.14';
43+
return '1.1.15';
4444
}
4545
public static function createWebApplication($config=null)
4646
{

framework/zii/widgets/CDetailView.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ public function run()
209209
if(!isset($attribute['type']))
210210
$attribute['type']='text';
211211
if(isset($attribute['value']))
212-
$value=is_callable($attribute['value']) ? call_user_func($attribute['value'],$this->data) : $attribute['value'];
212+
$value=is_object($attribute['value']) && get_class($attribute['value']) === 'Closure' ? call_user_func($attribute['value'],$this->data) : $attribute['value'];
213213
elseif(isset($attribute['name']))
214214
$value=CHtml::value($this->data,$attribute['name']);
215215
else

0 commit comments

Comments
 (0)