Project

General

Profile

« Previous | Next » 

Revision 1879

Added by darkviper over 11 years ago

protect magic setter to fix security issue in WbAdapter

View differences:

branches/2.8.x/CHANGELOG
11 11
! = Update/Change
12 12
===============================================================================
13 13

  
14
05 Mar-2013 Build 1879 Werner v.d.Decken(DarkViper)
15
# protect magic setter to fix security issue in WbAdapter
14 16
05 Mar-2013 Build 1878 Werner v.d.Decken(DarkViper)
15 17
# fixed PagesDir in WbAdaptor
16 18
02 Mar-2013 Build 1877 Dietmar Woellbrink (Luisehahne)
branches/2.8.x/wb/admin/interface/version.php
51 51

  
52 52
// check if defined to avoid errors during installation (redirect to admin panel fails if PHP error/warnings are enabled)
53 53
if(!defined('VERSION')) define('VERSION', '2.8.3');
54
if(!defined('REVISION')) define('REVISION', '1878');
54
if(!defined('REVISION')) define('REVISION', '1879');
55 55
if(!defined('SP')) define('SP', '');
branches/2.8.x/wb/framework/WbAdaptor.php
57 57
		return self::$_oInstance;
58 58
	}
59 59
/**
60
 * handle unknown properties
61
 * @param string name of the property
62
 * @param mixed value to set
63
 * @throws InvalidArgumentException
64
 */	
65
	public function __set($name, $value) 
66
	{
67
		throw new InvalidArgumentException('tried to set readonly or nonexisting property [ '.$name.' }!! ');
68
	}
69
/**
60 70
 * Get value of a variable
61 71
 * @param string name of the variable
62 72
 * @return mixed

Also available in: Unified diff