Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Axel can't handle CJK characters in content-disposition header correctly #449

Open
yoshyv opened this issue Feb 14, 2025 · 0 comments
Open

Comments

@yoshyv
Copy link

yoshyv commented Feb 14, 2025

#429

Axel is having trouble with CJK characters in content-disposition header


% curl -sIL 'https://[url_redacted]' |grep content-disposition
content-disposition: attachment; filename="[250213-1958][???]??????????????????????????????????????.m2ts"; filename*=UTF-8''%5B250213-1958%5D%5B%E3%83%86%E3%83%AC%E6%9D%B1%5D%E3%83%8A%E3%82%BC%E3%81%9D%E3%81%93%EF%BC%9F%E6%9D%BE%E8%8C%B8%E3%83%8F%E3%83%B3%E3%82%BF%E3%83%BC%E7%A5%9E%E3%83%AF%E3%82%B6%EF%BC%91%EF%BC%90%EF%BC%90%E6%9C%AC%E3%82%B2%E3%83%83%E3%83%88%EF%BC%86%E5%BE%A9%E6%B4%BB%EF%BC%81%E4%B8%96%E7%95%8C%E3%83%8A%E3%82%BC%E3%81%9D%E3%81%93%E3%81%AB%EF%BC%9F%E6%97%A5%E6%9C%AC%E4%BA%BA%EF%BC%B3%EF%BC%B0.m2ts

Actual downloaded filename "[250213-1958][]___________________________________.m2ts"

OS: Debian sid
Axel built from latest git (commit b1b8c2f)

% ./axel -V
Axel 2.17.14 (linux-gnu)

Copyright 2001-2007 Wilmer van der Gaast,
          2007-2009 Giridhar Appaji Nag,
          2008-2010 Philipp Hagemeister,
          2015-2017 Joao Eriberto Mota Filho,
          2016-2017 Stephen Thirlwall,
          2017      Antonio Quartulli,
          2017-2024 Ismael Luceno,
                    and others.
Please, see the CREDITS file.
@yoshyv yoshyv changed the title Axel can't handle CJK characters in content-disposition header Axel can't handle CJK characters in content-disposition header correctly Feb 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant