|
From: | Harshavardhana |
Subject: | Re: [pdf-devel] Solution to FS #126 |
Date: | Mon, 2 May 2011 08:45:41 -0700 |
FS126 is not just about escaping strings, it's about getting URLs (see
RFC1738). For example, a URL for a file accesible through the HTTP
protocol in the web will have a http:// scheme; a local file will have a
file:// scheme... (so not only escaping involved).
Don't only look at g_uri_escape_string(), that's also only for escaping;
I really meant g_file_get_uri() or g_file_new_from_uri() for example.
Probably wget has also an implementation of this, so it's worth checking
to see if we can reuse it.
[Prev in Thread] | Current Thread | [Next in Thread] |