bug-wget
[Top][All Lists]
Advanced

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

Re: [Bug-wget] URL encoding issues (Was: GNU wget 1.17.1 released)


From: Tim Ruehsen
Subject: Re: [Bug-wget] URL encoding issues (Was: GNU wget 1.17.1 released)
Date: Tue, 15 Dec 2015 16:57:18 +0100
User-agent: KMail/4.14.10 (Linux/4.3.0-1-amd64; KDE/4.14.14; x86_64; ; )

On Tuesday 15 December 2015 16:20:04 Andries E. Brouwer wrote:
> On Tue, Dec 15, 2015 at 10:33:10AM +0100, Tim Ruehsen wrote:
> > On Monday 14 December 2015 18:33:38 Eli Zaretskii wrote:
> > >  1. The functions that call 'iconv' (in iri.c) don't make a point of
> > >  
> > >     flushing the last portion of the converted URL after 'iconv'
> > >     returns successfully having converted the input string in its
> > >     entirety.  IME, you need then to call 'iconv' one last time
> > 
> > You are absolutely right.
> > Attached is a small test C code that shows (and fixes) the problem.
> 
> Yes. See also https://sourceware.org/bugzilla/show_bug.cgi?id=1124

Thanks, Andries.

2005... that's a real old issue but exactly our issue.
The iconv man page still doesn't explain it well and doesn't make clear that 
you should not miss the second call with NULL input parameters.

I wonder how many source codes are still affected...

Any volunteer to file a bug against the iconv man page ?

Tim




reply via email to

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