[Pkg-owncloud-commits] [owncloud] 340/457: Do not use digits in random index names

David Prévot taffit at moszumanska.debian.org
Sun Jun 28 20:06:36 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch stable8
in repository owncloud.

commit c7c6556187d89201ee4d6aef0d1d784ad97ccd09
Author: Victor Dubiniuk <victor.dubiniuk at gmail.com>
Date:   Mon Jun 8 18:59:24 2015 +0300

    Do not use digits in random index names
---
 lib/private/db/migrator.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/private/db/migrator.php b/lib/private/db/migrator.php
index 49b9032..fcfe5d9 100644
--- a/lib/private/db/migrator.php
+++ b/lib/private/db/migrator.php
@@ -169,7 +169,7 @@ class Migrator {
 				$indexName = $index->getName();
 			} else {
 				// avoid conflicts in index names
-				$indexName = $this->config->getSystemValue('dbtableprefix', 'oc_') . $this->random->generate(13, ISecureRandom::CHAR_LOWER . ISecureRandom::CHAR_DIGITS);
+				$indexName = $this->config->getSystemValue('dbtableprefix', 'oc_') . $this->random->generate(13, ISecureRandom::CHAR_LOWER);
 			}
 			$newIndexes[] = new Index($indexName, $index->getColumns(), $index->isUnique(), $index->isPrimary());
 		}

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list