mirror of
https://github.com/rejetto/hfs2.git
synced 2025-12-19 10:03:56 +01:00
fix: problems downloading files with a comma with firefox77
This commit is contained in:
parent
6b933acdef
commit
18f7e5177f
@ -579,7 +579,8 @@ if url = '' then
|
||||
encodeHTML:=[];
|
||||
if nonascii then
|
||||
encodeHTML:=[#128..#255];
|
||||
encodePerc:=[#0..#31,'#','%','?','"','''','&','<','>',':'];
|
||||
encodePerc:=[#0..#31,'#','%','?','"','''','&','<','>',':',
|
||||
',',';']; // these for content-disposition
|
||||
// actually ':' needs encoding only in relative url
|
||||
if spaces then include(encodePerc,' ');
|
||||
if not htmlEncoding then
|
||||
|
||||
Loading…
Reference in New Issue
Block a user