Re: [xml] nanohttp: No redirects for http://www.domain.com



At 15:42 02.10.2009, Daniel Veillard wrote:

  Yes I tend to agree, this is an oversight.
And I think this affect only the path part, for other parts like
fragment, query or username, there is an extra symbol (# ? or @)
which would get lost if we didn't convert to "" .

I have sketched up a few basic tests and the other pieces seem to work fine, i.e. they are indeed NULL and not an empty string.

But for all the case for path I think this need fixing, could you try the enclosed patch which I think covers all cases ?

The patch works fine for the issue reported: xmlParseURIRaw() returns expected values and nanohttp also redirects as usual.

  thanks for raising the issue !

Thanks for the patch!

Ralf



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