Open Source Training Seminar FreePBX Paid Support

Ticket #2791 (closed Bugs: fixed)

Opened 6 months ago

Last modified 3 months ago

Date field in fax emails has wrong format (not RFC compliant)

Reported by: newnewuser Assigned to: p_lindheimer
Priority: major Milestone: Cut Line
Component: Core Version: SVN-HEAD
Keywords: Cc:
Confirmation: Need testing SVN Revision (if applicable):
Backend Engine: All Backend Engine Version:

Description

Emails which contain faxes have an invalid date in the headers. As a result, the emails show at the bottom of the listing in some email clients.

The bug is in the file: /var/www/html/admin/modules/core/bin/fax-process.pl

Line 135: my $dtime = date;

The date command doesn't always (or by default) return an RFC valid date for use in emails.

Fix: Simple append the -R parameter which tells 'date' to print dates in RFC 2822 format, a valid format for emails.

my $dtime = date -R;

Attachments

patch.diff (478 bytes) - added by lazytt on 07/01/08 15:27:21.

Change History

04/16/08 07:45:06 changed by newnewuser

warning, some formatting was lost in the above.

for example, the correct modified line is:

my $dtime = `date -R`;

07/01/08 15:27:21 changed by lazytt

  • attachment patch.diff added.

07/01/08 15:28:22 changed by lazytt

  • confirmation changed from Unreviewed to Need testing.

07/01/08 16:14:30 changed by p_lindheimer

  • status changed from new to closed.
  • resolution set to fixed.

#2449 previously closed from no proper feedback

r5848

Donate



Support
Download
Develop
Forums
News
Documentation
Paid Support
About

Paid Ads