mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-21 09:49:14 +00:00
Bug 367077: Big attachments which should be stored locally are not - Patch by Fr��d��ric Buclin <LpSolit@gmail.com> r=wurblzap a=LpSolit
This commit is contained in:
parent
45c571aa2e
commit
e6ed65029e
@ -749,7 +749,10 @@ sub insert_attachment_for_bug {
|
||||
unless ($cgi->param('ispatch')) {
|
||||
$class->validate_content_type($throw_error) || return 0;
|
||||
}
|
||||
$data = _validate_data($throw_error, $hr_vars) || return 0;
|
||||
$data = _validate_data($throw_error, $hr_vars);
|
||||
# If the attachment is stored locally, $data eq ''.
|
||||
# If an error is thrown, $data eq '0'.
|
||||
($data ne '0') || return 0;
|
||||
$contenttype = $cgi->param('contenttype');
|
||||
|
||||
# These are inserted using placeholders so no need to panic
|
||||
|
Loading…
x
Reference in New Issue
Block a user