Indefero

Indefero Commit Details


Date:2010-02-27 15:26:34 (14 years 9 months ago)
Author:Loic d'Anterroches
Branch:develop, feature-issue_links, feature.better-home, feature.content-md5, feature.diff-whitespace, feature.download-md5, feature.issue-links, feature.issue-of-others, feature.issue-summary, feature.search-filter, feature.webrepos, feature.wiki-default-page, master, release-1.1, release-1.2, release-1.3
Commit:49e5aa783dd77f3b3a1b353c4dd419b076589cdb
Parents: b9d8eeea9e202813302e7fcba1d31f11461b5073
Message:Fixed to correctly write into the temp folder.

Changes:

File differences

src/IDF/Form/UserAccount.php
210210
211211
212212
213
213
214214
215215
216216
throw new Pluf_Form_Invalid(__('The format of the key is not valid. It must start with ssh-dss or ssh-rsa, a long string on a single line and at the end a comment.'));
}
if (Pluf::f('idf_strong_key_check', false)) {
$tmpfile = Pluf::f('tmp_folder', '/tmp').$user.'-key';
$tmpfile = Pluf::f('tmp_folder', '/tmp').'/'.$user.'-key';
file_put_contents($tmpfile, $key, LOCK_EX);
$cmd = Pluf::f('idf_exec_cmd_prefix', '').
'ssh-keygen -l -f '.escapeshellarg($tmpfile).' > /dev/null 2>&1';

Archive Download the corresponding diff file

Page rendered in 0.07626s using 13 queries.