bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-wget] patch: Stored file name coversion logic correction


From: Tim Ruehsen
Subject: Re: [Bug-wget] patch: Stored file name coversion logic correction
Date: Wed, 15 Feb 2017 16:35:54 +0100
User-agent: KMail/5.2.3 (Linux/4.9.0-1-amd64; KDE/5.28.0; x86_64; ; )

On Wednesday, February 15, 2017 7:12:16 PM CET YX Hao wrote:
> Hi there,
> 
> 
> 
> I got this on a non-ASCII environment. The local path contains non-ASCII
> characters with OEM ANSI encoded. So, we should convert the server responded
> file name before it is concatenated to the local path. Not after that. Or,
> it will cause error in the next 'iconv' function .

Hi,

sounds reasonable, but please provide further info to reproduce the issue.

I have a non-ASCII environment as well, and moved the whole Wget project into 
some non-ASCII subdirectory (äöü/). At least some of the *-iri-* should have 
failed, but all succeeded.

Btw, your patch introduces a memory leak (fname_len_check will be 
overwritten). And what about the 'else' case ?

Regards, Tim

Attachment: signature.asc
Description: This is a digitally signed message part.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]