ok NOW it's fixed
This commit is contained in:
parent
daa8aa5da6
commit
975a8c65bf
|
@ -262,7 +262,7 @@ async function track(env, id, format, tagging, range_header, user_agent) {
|
|||
if (user_agent === null || !user_agent.startsWith('TelegramBot')) {
|
||||
content_disposition = `inline; filename*=UTF-8''${encodeRFC5987ValueChars(filename)}`
|
||||
} else {
|
||||
content_disposition = `inline; filename="${filename.replaceAll('"', '%22')}"`
|
||||
content_disposition = `inline; filename="${encodeURIComponent(filename)}"`
|
||||
}
|
||||
|
||||
let init = { method: 'GET', headers: {} }
|
||||
|
|
Loading…
Reference in New Issue