is not used any more and exists only for history. Post new tickets on the Github account. n'est plus utilisée, et existe uniquement pour son historique. Postez les nouveaux tickets sur le compte github.

Opened 11 years ago

Closed 11 years ago

#1142 closed bug (fixed)

issues with error_handling > emailHeaders

Reported by: bibo Owned by: laurentj
Priority: normal Milestone: Jelix 1.0.13
Component: jelix:core Version: 1.0.12
Severity: normal Keywords:
Cc: Blocked By:
Blocking: Documentation needed: no
Hosting Provider: Php version:


As a result of parse_ini_file, value of emailHeaders key in error_handling section is escaped especially \r and \n.

Thus, email Headers are not well processed by error_log. Replacing jCoordinator.class.php, line 355 with code below fixes it :

             error_log(wordwrap($messageLog,70),1, $conf['email'], str_replace(array('\\r','\\n'),array("\r","\n"),$conf['emailHeaders']));

Change History (2)

comment:1 Changed 11 years ago by bibo

  • review set to review?

comment:2 Changed 11 years ago by laurentj

  • Milestone set to Jelix 1.0.13
  • Resolution set to fixed
  • review changed from review? to review+
  • Status changed from new to closed
  • Version changed from 1.1.6 to 1.0.12
Note: See TracTickets for help on using tickets.