Indefero

Indefero Commit Details


Date:2010-10-14 07:13:21 (14 years 2 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:d171a249c5ac2b8e0bc155d9b05dd1a1a640b96c
Parents: d994e0efb014d13cd7fa165ca91f9d7aefce141c
Message:Its untrue that the list of extra allowed extensions for uploaded files has to start with a space - its even a little quirky since the code expands that to a regex like "/\.(|ext1|ext2...)$/", so in theory files which end up with a dot and without an extension would be allowed by this. For now we just fix the comment and indentation of the default configuration option.

Changes:

File differences

src/IDF/conf/idf.php-dist
205205
206206
207207
208
209
208
209
210210
211211
212212
# are using SQLite.
#
# The extension of the downloads are limited. You can add extra
# extensions here. The list must start with a space.
# $cfg['idf_extra_upload_ext'] = ' ext1 ext2';
# extensions here.
# $cfg['idf_extra_upload_ext'] = 'ext1 ext2';
#
# By default, the size of the downloads is limited to 2MB.
# The php.ini upload_max_filesize configuration setting will

Archive Download the corresponding diff file

Page rendered in 0.07528s using 13 queries.