From 18f7e5177f24a58c4000ce55b2712a540ea1aa14 Mon Sep 17 00:00:00 2001 From: Massimo Melina Date: Sat, 13 Jun 2020 00:37:58 +0200 Subject: [PATCH] fix: problems downloading files with a comma with firefox77 --- hslib.pas | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hslib.pas b/hslib.pas index 19eaf6f..64bda4d 100644 --- a/hslib.pas +++ b/hslib.pas @@ -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