Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
sympa
sympa
Commits
efe8f59c
Unverified
Commit
efe8f59c
authored
Feb 04, 2018
by
IKEDA Soji
Committed by
GitHub
Feb 04, 2018
Browse files
Merge pull request #186 from ikedas/issue-44_fix-2
Issue #44 fix 2 by ikedas
parents
091ebf5b
d7a301a8
Changes
2
Hide whitespace changes
Inline
Side-by-side
default/mail_tt2/report.tt2
View file @
efe8f59c
...
...
@@ -583,6 +583,7 @@ Warning: this message may already have been sent by one of the list's editors.[%
[%~ ELSIF report_entry == 'unable_to_parse' ~%]
[%|loc()%]The page could not be parsed properly. Please check the content of web page or file you submitted.[%END%]
[% report_param.error %]
[%~ ELSIF report_entry == 'wrong_value' ~%]
[%|loc(report_param.argument)%]Wrong value for parameter %1[%END%]
...
...
src/cgi/wwsympa.fcgi.in
View file @
efe8f59c
...
...
@@ -14747,13 +14747,16 @@ sub do_send_mail {
# parse return the MIME::Lite part to send
my $part = eval { $mail_html->parse($page_source) };
unless ($part) {
Sympa::Report::reject_report_web('user', 'unable_to_parse', {},
my $error = join("\n", $mail_html->errstr) || 'Unknown error';
Sympa::Report::reject_report_web('user', 'unable_to_parse',
{error => $error},
$param->{'action'});
wwslog(
'info',
'A MIME part could not be created with the supplied data, %s, %s',
'A MIME part could not be created with the supplied data, %s,
%s:
%s',
$in{'url'},
$in{'uploaded_file'}
$in{'uploaded_file'},
$error
);
return undef;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment