[Xfce-bugs] [Bug 5710] Global function to check if a string looks like an uri
bugzilla-daemon at xfce.org
bugzilla-daemon at xfce.org
Sat Aug 29 23:43:22 CEST 2009
http://bugzilla.xfce.org/show_bug.cgi?id=5710
--- Comment #3 from Jannis Pohlmann <jannis at xfce.org> 2009-08-29 21:43:21 UTC ---
Thinking about it again... Garcon is not going to depend on any Xfce libraries,
so there it won't be useful.
Thunar could use it because if you have a random string (entered by the user)
and you want to create a GFile, there's no way around distinguishing between
URIs and local paths. There you need a function like that. I guess exo needs it
to, it also takes random strings via e.g. exo-open and needs to find out if
they are local paths or URIs.
I suppose the appfinder could also use it, should I extend it in a way that
allows arbitrary strings to be executed/launched. But since there is no code
for it yet, I'm not sure.
I think random user input is about the only situation where this is really
needed. Other (core) components you can think of where this might be important?
--
Configure bugmail: http://bugzilla.xfce.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Xfce-bugs
mailing list