From a743d01a10a700fbcaed65bced00217f49282047 Mon Sep 17 00:00:00 2001 From: Samantaz Fox Date: Sun, 5 Mar 2023 13:44:23 +0100 Subject: [PATCH] Download: update link in video_playback comment --- src/invidious/routes/video_playback.cr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/invidious/routes/video_playback.cr b/src/invidious/routes/video_playback.cr index d27b214d..1d1c1648 100644 --- a/src/invidious/routes/video_playback.cr +++ b/src/invidious/routes/video_playback.cr @@ -167,7 +167,7 @@ module Invidious::Routes::VideoPlayback env.response.headers["Access-Control-Allow-Origin"] = "*" if title - # https://blog.fastmail.com/2011/06/24/download-non-english-filenames/ + # http://web.archive.org/web/20150701003254/https://blog.fastmail.com/2011/06/24/download-non-english-filenames/ filename = URI.encode_www_form(title, space_to_plus: false) header = "attachment; filename=\"#{filename}\"; filename*=UTF-8''#{filename}" env.response.headers["Content-Disposition"] = header