PacketFence - BTS - PacketFence
View Issue Details
0001694PacketFenceweb adminpublic2013-08-19 15:222013-08-20 08:51
muhlig 
francis 
normalminoralways
resolvedfixed 
4.0.4 
4.0.6 
cff7c1426c2dc8f760134afd4226b53badb5c87e
0001694: pre-registration confirmation mail - %s not replaced by domain name
There is a message in PacketFence:

msgid "%s: Guest access confirmed!"

which is used as a subject of confirmation mail in case of pre-registration. A guest receives this mail, but in the subject "%s" is not replaced by domain name of PacketFence system.

It's worth noting all the other mails from PacketFence have "%s" correctly replaced - just this one particular mail has this issue.
No tags attached.
Issue History
2013-08-19 15:22muhligNew Issue
2013-08-20 02:32muhligNote Added: 0003421
2013-08-20 08:51francisfixed in git revision => cff7c1426c2dc8f760134afd4226b53badb5c87e
2013-08-20 08:51francisStatusnew => resolved
2013-08-20 08:51francisFixed in Version => 4.0.6
2013-08-20 08:51francisResolutionopen => fixed
2013-08-20 08:51francisAssigned To => francis

Notes
(0003421)
muhlig   
2013-08-20 02:32   
Fix: /usr/local/pf/html/captive-portal/email_activation.cgi

line 113

is

'subject' => i18n("%s: Guest access confirmed!", $Config{'general'}{'domain'}),

should be

'subject' => i18n_format("%s: Guest access confirmed!", $Config{'general'}{'domain'}),