proposal for file: uri standard

Alexander Larsson alexl at redhat.com
Thu Apr 1 11:30:12 EEST 2004


On Wed, 2004-03-31 at 17:40, Thomas Leonard wrote:
> On Mon, Mar 29, 2004 at 03:22:27PM +0200, David Faure wrote:
> > On Monday 29 March 2004 14:59, Thomas Leonard wrote:
> [...]
> > > Should we even allow "localhost"? An empty hostname is already considered
> > > an error (because DnD between machines wouldn't work), and localhost is
> > > just as bad for this.
> > 
> > But uris are not only used for DnD!
> > If you pass a URI to an application on the command line, empty hostname
> > or localhost is fine.
> 
> Yep. However, anything that gets passed between applications (DnD,
> clipboard, etc) should contain the fqdn.

What i wrote in the updated spec was that it should contain the exact
result of a gethostname() call. That way its automatically the same in
all processes on the machine, and strcmp() will work.

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Alexander Larsson                                            Red Hat, Inc 
                   alexl at redhat.com    alla at lysator.liu.se 
He's an ungodly crooked messiah from a doomed world. She's a hard-bitten 
blonde mercenary with only herself to blame. They fight crime! 





More information about the xdg mailing list