Re: [evolution-patches] 31745, hacky workaround for shell uri bugs



On Mon, 2003-06-16 at 03:44, Not Zed wrote:
> The problem is, the shell gets something like this from camel:
> 
> physical = imap://user host/%23mh/folder
> path = /#imap/folder
> name = folder
> 
> and uses the 'path' part directly in its own uri formation, rather than
> the encoded uri path.
> 
> e.g. e-shell-view.c:switch_on_folder_tree_click()
> 
> uri = g_strconcat(E_SHELL_URI_PREFIX, path, NULL);

Yeah, I am aware of this problem, although I never got around to fixing
it.

All those g_strconcat()s with E_SHELL_URI_PREFIX should be replaced with
a utility function in e-shell-utils.c (e_shell_build_evolution_uri() or
something) which do the proper encoding.

If you'd rather do without the workaround in Camel I can try fixing
this.

-- Ettore



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