amend previous commit

This commit is contained in:
Massimo Melina 2020-06-13 17:05:01 +02:00
parent 18f7e5177f
commit 1e7bf6cfc4
2 changed files with 3 additions and 2 deletions

View File

@ -4971,7 +4971,7 @@ var
begin
s:=ansistring(HSlib.encodeURL(data.lastFN));
conn.addHeader( ansistring('Content-Disposition: '+if_(attach, 'attachment; ')
+'filename*=UTF-8''''"'+s+'"; filename="'+s+'"'));
+'filename*=UTF-8'''''+s+'; filename='+s));
end;
function sessionRedirect():boolean;

View File

@ -1472,7 +1472,8 @@ var
exit;
end;
a:=findEnabledLinkedAccount(a, split(';',s));
if assigned(a) then result:=a.user;
if assigned(a) then
result:=a.user;
end; // memberOf
procedure canArchive(f:Tfile);