Indefero

Indefero Commit Details


Date:2012-05-14 12:38:07 (12 years 7 months ago)
Author:Thomas Keller
Branch:develop, release-1.3
Commit:6bb886b92a426f464026f91addae23a920210d10
Parents: dd3474c06c36159aa09d97855a1452908df39a41
Message:If ssh public key data contain forward slashes, the SyncGit cron job did not properly find and update the region which it should have under its control (thanks to Simon Gareste for the fix!)

Changes:

File differences

NEWS.mdtext
77
88
99
10
11
12
13
14
1015
1116
1217
for him (but still no one was actually accessible).
This has been fixed.
- Fixed a problem where the SyncGit plugin doesn't properly
updates the authorized_keys file when the public key
data contained slashes (thanks to Simon Gareste for the
fix!)
# InDefero 1.3.2 - Wed May 09 20:05 2012 UTC
## Bugfixes
src/IDF/Plugin/SyncGit/Cron.php
6464
6565
6666
67
67
6868
6969
7070
// We update only the part of the file between IDF_START / IDF_END comment
$original_keys = file_get_contents($authorized_keys);
if (strstr($original_keys, "# indefero start") && strstr($original_keys, "# indefero end")) {
$out = preg_replace('/(#\sindefero\sstart).+(#\sindefero\send\s\s?)/isU',
$out = preg_replace('%(#\sindefero\sstart).+(#\sindefero\send\s\s?)%isU',
$out, $original_keys);
} else {
$out .= $original_keys;

Archive Download the corresponding diff file

Page rendered in 0.09390s using 13 queries.