File uri.c line 1256

  while (IS_USERINFO(cur)) NEXT(cur);
     if (*cur == '@') {
        if (uri != NULL) {
            if (uri->user != NULL) xmlFree(uri->user);
            if (uri->cleanup & 2)
                uri->path = STRNDUP(*str, cur - *str);
            else
                uri->user = xmlURIUnescapeString(*str, cur - *str, NULL);
        }
        cur++;


uri->path must be changed into uri->user.

This breaks ftp read access like "ftp://user:[EMAIL PROTECTED]/...".

By the way, does libxml2 handle ftp write access?
This seems to be broken for me.

Regards,
François.
_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
[email protected]
http://mail.gnome.org/mailman/listinfo/xml

Reply via email to