X-Git-Url: https://git.treefish.org/fex.git/blobdiff_plain/c65ee6f7429eff9a7f58aad7c0aec858ad473092..20160328:/cgi-bin/fuc diff --git a/cgi-bin/fuc b/cgi-bin/fuc index 4d7ee3c..897fd69 100755 --- a/cgi-bin/fuc +++ b/cgi-bin/fuc @@ -97,7 +97,7 @@ if ($show and $show eq 'tools') { '' ); &reexec; - + if (open $tools,"$docdir/tools.html") { while (<$tools>) { while (/\$([\w_]+)\$/) { @@ -135,7 +135,7 @@ if ($akey) { if ($user and $akey and $qs and $qs =~ /info=(.+?)&skey=(.+)/) { $subuser = $1; $skey = $2; - notify_subuser($user,$subuser,"$fup?skey=$skey",$comment); + notify_subuser($user,$subuser,"$fup?skey=$skey#$user",$comment); http_header("200 OK"); print html_header($head); pq(qq( @@ -845,6 +845,8 @@ sub notify_otuser { 'To: $otuser' 'Subject: Your upload URL' 'X-Mailer: F*EX' + 'Content-Type: text/plain; charset=utf-8' + 'Content-Transfer-Encoding: 8bit' '' 'This is an automatically generated e-mail.' '' @@ -880,6 +882,8 @@ sub notify_subuser { 'Cc: $user' 'Subject: Your F*EX account on $server' 'X-Mailer: F*EX' + 'Content-Type: text/plain; charset=utf-8' + 'Content-Transfer-Encoding: 8bit' '' 'This is an automatically generated e-mail.' ''