[hafqa] [hafqa] [Bug 509] GnomeVFSURI mistakenly translates '//' into '/' when middle of the url

From: bugzilla-daemon at maemo.org bugzilla-daemon at maemo.org
Date: Wed Sep 13 16:58:25 EEST 2006
https://maemo.org/bugzilla/show_bug.cgi?id=509





------- Additional Comments From qa at maemo.org  2006-09-13 16:58 -------
Received the following information

After looking at the source for kmplayer, gnome_vfs_open() is called with a
string. This calls gnome_vfs_uri_new() with the string. The documentation for
gnome_vfs_uri_new() says:

    text_uri :   an escaped string representing a uri.

Since this string is never escaped (looking at the source), I would imagine
that is the problem. The string needs escaping before opening:

Could this be attempted with the following code:

    uri = gnome_vfs_uri_new (string);
    gnome_vfs_open_uri (uri);
    gnome_vfs_uri_unref (uri);

To see if the problem persists?


-- 
Configure bugmail: https://maemo.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.

More information about the hafqa mailing list