PATCH:KURL

David Faure dfaure at klaralvdalens-datakonsult.se
Tue Apr 29 11:05:45 BST 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tuesday 29 April 2003 11:52, Lubos Lunak wrote:
> On Tuesday 29 of April 2003 11:35, David Faure wrote:
> > On Tuesday 29 April 2003 05:05, Dawit A. wrote:
> > > On Monday 28 April 2003 20:28, David Faure wrote:
> > > > -----BEGIN PGP SIGNED MESSAGE-----
> > > > Hash: SHA1
> > > >
> > > > On Tuesday 29 April 2003 02:16, Dawit A. wrote:
> > > > > - Due to the above change we need to make KURL consistent in how it
> > > > > deals with the file protocol. The changes in both ::url and
> > > > > ::prettyURL do exactly that by returning file:/// by default instead
> > > > > of file:/.  This way not only are we consistent in how the file
> > > > > protocol is supported, but we are also compatible Mozilla and old
> > > > > Netscape (I think) which support this legacy behavior from RFC 1738.
> > > >
> > > > I don't think we want that. We want to  support  this format, i.e. to
> > > > parse it, but we still want to show file:/ URLs by default. From a user
> > > > perspective, file:/// is horrifying.
> > >
> > > I am curious why you think that since all the other browsers do just
> > > that.
> >
> > That's not really an argument in my eyes, on this issue (and I'm not sure
> > it's true either - at least I don't recall seeing this in IE).
> > And Konqueror isn't only a browser - I don't see why all file-manager users
> > should end up with file://////////////path/////////filename :)
> 
>  How about having prettyURL() return whatever looks nice and maybe is an URL 
> (i.e. file:/tmp ), while having the others returning file:///tmp ? I think 
> all the arguments against file:/// are basically "it doesn't look pretty", 
> and prettyURL() could handle that.

I think that's a good idea.
Not sure we use prettyURL everywhere where we should, but this will be a
good way to find out ;)

- -- 
David Faure -- faure at kde.org, dfaure at klaralvdalens-datakonsult.se
Qt/KDE/KOffice developer
Klarälvdalens Datakonsult AB, Platform-independent software solutions
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+rk5572KcVAmwbhARAmFkAKClY837KgV2uR78iDvEbsFlVitJsACfTmOq
3e4KjJ+1Qjr6LHQ71D+Awp0=
=AWHx
-----END PGP SIGNATURE-----





More information about the kde-core-devel mailing list