Remove HTML encoding when redirecting /f/ files to archives.

This commit is contained in:
ccd0 2017-01-15 17:32:08 -08:00
parent 571a964080
commit f12fbe24a8

View File

@ -126,6 +126,7 @@ Redirect =
url
file: (archive, {boardID, filename}) ->
filename = encodeURIComponent Build.unescape decodeURIComponent filename if boardID is 'f'
"#{Redirect.protocol archive}#{archive.domain}/#{boardID}/full_image/#{filename}"
board: (archive, {boardID}) ->