RE: [xml] uri.c bug in libxml2-2.2.3

Date view Thread view Subject view Author view

From: Wayne Davison (wayned@blorf.net)
Date: Wed Sep 20 2000 - 14:24:07 EDT


On Wed, 20 Sep 2000, Marc Sanfacon wrote:
> But am I right when saying that 'ref' could be an absolute path ?

No, that is handled back in step 5. By the time we get to step 6, we know
that we're combining a relative path with the base path.

In fact, I don't even think that the res->patch[out - 1] != '/' check is
needed, since the only path that we could have copied over from "bas" (in
step 6a) ends in a slash. Thus, the test in my patch could be simplified
to just this:

        if (out == 0)
            res->path[out++] = '/';

..wayne..

----
Message from the list xml@rpmfind.net
Archived at : http://xmlsoft.org/messages/
to unsubscribe: echo "unsubscribe xml" | mail  majordomo@rpmfind.net


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Wed Sep 20 2000 - 14:43:14 EDT