Raw download and filename character code

toras toras9000 at gmail.com
Tue Feb 8 13:58:52 UTC 2022


Hello.

I'm sorry, I should have given a concrete example.

Thank you for creating the fix code.
 From the conclusion, I've confirmed that the fixed code downloaded the file correctly.

I tried overwriting the fixed file for kallithea installed by pip.
The repository type I tried is git, and the stored file is a name that contains Japanese characters.
# I don't know if this can be displayed correctly in the email, but the file name is "メモ.txt".


Thanks

-- 
toras9000

On 2022/02/08 8:25, Mads Kiilerich wrote:
> Hi
> 
> Thanks for the report.
> 
> It took a while to reproduce. Many filenames work ok. An exact example would have been helpful.
> 
> I reproduced the problem (or another similar one) on Linux with a Mercurial repository with a file created as
>    python -c 'open("\U0001f4a9", "w").write("\U0001f4a9")'
> 
> I pushed a fix to the stable branch on 
> https://kallithea-scm.org/repos/kallithea/changeset/8993d401575bad2d085158738b09e0bd02c7f135 . Please let me know if that 
> doesn't solve your problem.
> 
> /Mads
> 
> 




More information about the kallithea-general mailing list