Project

General

Profile

« Previous | Next » 

Revision 1976

Added by darkviper almost 11 years ago

Packet AccessFile fixed indifferent handling of './..' directory entries

View differences:

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

  
14
05 Oct-2013 Build 1976 Manuela v.d.Decken(DarkViper)
15
# Packet AccessFile fixed indifferent handling of './..' directory entries
14 16
04 Oct-2013 Build 1975 Dietmar Woellbrink (Luisehahne)
15 17
!   /install/sql/wb_search_data.sql recoding initial data for table `search` without primary index value
16 18
04 Oct-2013 Build 1974 Manuela v.d.Decken(DarkViper)
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', '1975');
54
if(!defined('REVISION')) define('REVISION', '1976');
55 55
if(!defined('SP')) define('SP', '');
branches/2.8.x/wb/framework/AccessFileHelper.php
86 86
		$bResult = true;
87 87
		if (!is_writeable($sRootDir))
88 88
		{
89
			self::$aDelTreeLog[] = 'insufficient rights or directory not empty in : '.str_replace($oReg->AppPath, '', $sRootDir);
89 90
			return false;
90
			self::$aDelTreeLog[] = 'insufficient rights or directory not empty in : '.str_replace($oReg->AppPath, '', $sRootDir);
91 91
		}
92 92
		$oIterator = new RecursiveIteratorIterator(new RecursiveDirectoryIterator($sRootDir), RecursiveIteratorIterator::CHILD_FIRST);
93 93
		foreach ($oIterator as $oPath)
94 94
		{
95
			$sPath = trim(str_replace('\\', '/', $oPath->__toString()), '/');
96
			if ($oPath->isDir())
95
			$sPath = rtrim(str_replace('\\', '/', $oPath->__toString()), '/');
96
			if ($oPath->isDir() && !preg_match('/\.$/s', $sPath))
97 97
			{
98 98
				// proceed directories
99 99
				if (!rmdir($sPath))

Also available in: Unified diff