Translation of \\foo\bar links into smb://foo/bar links

David Faure faure at kde.org
Tue Jan 18 09:37:40 GMT 2005


On Tuesday 18 January 2005 10:09, Stephan Kulow wrote:
> Am Montag 17 Januar 2005 20:47 schrieb Jason Keirstead:
> > I tried finding the right code, and ended up with the patch below, but it
> > does not seem to suffice. I think I need to do something else in the
> > paseURL function, but I really got lost in there. Any pointers?
> The right code are the kurifilters and if you look at the current tests, it 
> says:
> 
>    // Windows style SMB (UNC) URL. Should be converted into the valid smb 
> format...
>    filter( "\\\\mainserver\\share\\file", "smb://mainserver/share/file" , 
> KURIFilterData::NET_PROTOCOL );
> 
> So your feature is already there and it works fine for me.

But only in Konqueror, not in mails or in the file dialog, right?
I think that's the point of the initial mail.

-- 
David Faure, faure at kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).




More information about the kde-core-devel mailing list