Re: patch for displaying URIs



On 29 Jan 2003, James Willcox wrote:

> Hi,
> 
> I noticed that gnome_vfs_format_uri_for_display() wasn't unescaping URIs
> that weren't local paths.  The attached patch fixes it, but I'm not
> positive that it's correct....

That means roundtrips with format_uri_for_display() + 
make_uri_from_input() aren't guaranteed to work (the escaped text may have 
been non-utf8, or it could expand to e.g. another escaped char). This 
would break the nautilus location bar.

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Alexander Larsson                                            Red Hat, Inc 
                   alexl redhat com    alla lysator liu se 
He's a leather-clad arachnophobic rock star on the hunt for the last specimen 
of a great and near-mythical creature. She's a chain-smoking cat-loving fairy 
princess from a secret island of warrior women. They fight crime! 




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