Indefero

Indefero Commit Details


Date:2010-09-14 07:22:34 (14 years 3 months ago)
Author:Thomas Keller
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:0897c8608fcea784ca9dee16fba3c12bb52621a6
Parents: adae73080c7f83ed3f6db21469edd531a85f8084
Message:Allow the upload of SSH keys without the optional comment field (fixes issue 531 - thanks William!)

Changes:

File differences

src/IDF/Form/UserAccount.php
204204
205205
206206
207
207
208208
209209
210210
return '';
}
if (preg_match('#^ssh\-[a-z]{3}\s\S+\s\S+$#', $key)) {
if (preg_match('#^ssh\-[a-z]{3}\s\S+==(\s\S+)?$#', $key)) {
$key = str_replace(array("\n", "\r"), '', $key);
if (Pluf::f('idf_strong_key_check', false)) {

Archive Download the corresponding diff file

Page rendered in 0.07669s using 14 queries.