Project

General

Profile

Actions

Bug #17036

closed

Still 250000 bytes maximum size is hardcoded for mailform attachments

Added by Jo Hasenau over 17 years ago. Updated about 14 years ago.

Status:
Closed
Priority:
Should have
Category:
Communication
Target version:
-
Start date:
2007-02-24
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.2
PHP Version:
4.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

People using the integrated mailform functions can't create forms, where users would be able to send attachments larger than 250000 bytes. This is really bad if you are using it i.e. as a contact form like this:
http://www.xposign.com/20.0.html
People can send large files of plans and maps here which is IMHO not very uncommon.

The value is hardcoded in class.t3lib_formmail.php, ahs been raised to 250000 a few versions ago but instead it should be replaced by a TS-config or TS-Setup parameter. The default could still be 250000 but it would be possible to raise this to a higher maximum without having to hack a core file each time you updated the source.

(issue imported from #M5065)


Files

5065_config_default.diff (2.29 KB) 5065_config_default.diff Administrator Admin, 2007-03-10 01:09
5060_class.t3lib_formmail.php.diff (574 Bytes) 5060_class.t3lib_formmail.php.diff Administrator Admin, 2007-03-10 01:09

Related issues 2 (0 open2 closed)

Has duplicate TYPO3 Core - Feature #16338: hardcoded limit for mailform attachmentClosedOliver Hader2006-07-11

Actions
Has duplicate TYPO3 Core - Bug #15220: Filesize of maximum allowed files in mailformsClosedMartin Kutschker2005-11-18

Actions
Actions

Also available in: Atom PDF