PATCH: [Bug 83064] SMB URI syntax error

David Faure faure at kde.org
Wed Aug 11 13:04:38 BST 2004


On Wednesday 11 August 2004 13:48, Stephan Kulow wrote:
> Am Mittwoch 11 August 2004 03:57 schrieb Dawit A.:
> > I just realized something. This is the intended behavior. "smb:" cannot be
> > filtered by any of the current filter plugins because it is an invalid
> > format of a supported protocol (same thing will happen for "ftp:", "http:"
> > or any other protocol supported by KDE). Were you expecting a search with
> > the default search engine ?
> "smb:" is a valid URL and should point to kio_smb 

KURL disagrees.

   KURL smb("smb://domain;username:password@server/share");
   check("smb.isValid()", smb.isValid() ? "true" : "false", "true");
   check("smb.user()", smb.user(), "domain;username");
+  smb = "smb:";
+  check("smb:", smb.isValid()?"VALID":"MALFORMED", "VALID");
   smb = "smb:/";
   check("smb:/", smb.isValid()?"VALID":"MALFORMED", "VALID");
   smb = "smb://"; // kurl.cpp rev 1.106

kurltest: smb: : checking 'MALFORMED' against expected value 'VALID'... KO !

-- 
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