Diff for /loncom/interface/lonmsg.pm between versions 1.239.2.4 and 1.239.2.4.2.1

version 1.239.2.4, 2022/01/19 03:33:46 version 1.239.2.4.2.1, 2023/01/23 17:52:06
Line 512  sub sendnotification { Line 512  sub sendnotification {
   
     $text=~s/\&lt\;/\</gs;      $text=~s/\&lt\;/\</gs;
     $text=~s/\&gt\;/\>/gs;      $text=~s/\&gt\;/\>/gs;
     my $homeserver = &Apache::lonnet::homeserver($touname,$toudom);      my $touhome = &Apache::lonnet::homeserver($touname,$toudom);
     my $protocol = $Apache::lonnet::protocol{$homeserver};      my $url = &Apache::lonnet::url_prefix('',$toudom,$touhome,'email').
     $protocol = 'http' if ($protocol ne 'https');  
     my $url = $protocol.'://'.&Apache::lonnet::hostname($homeserver).  
               '/adm/email?username='.$touname.'&domain='.$toudom.                '/adm/email?username='.$touname.'&domain='.$toudom.
               '&display='.&escape($msgid);                '&display='.&escape($msgid);
     my ($sendtime,$shortsubj,$fromname,$fromdomain,$status,$fromcid,      my ($sendtime,$shortsubj,$fromname,$fromdomain,$status,$fromcid,

Removed from v.1.239.2.4  
changed lines
  Added in v.1.239.2.4.2.1


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>