PATCH: [Bug 83064] SMB URI syntax error

Dawit A. adawit at
Thu Aug 12 00:35:30 BST 2004

On Wednesday 11 August 2004 08:25, Stephan Kulow wrote:
> Am Mittwoch 11 August 2004 14:04 schrieb David Faure:
> > kurltest: smb: : checking 'MALFORMED' against expected value 'VALID'...
> > KO !
> Well, rfc 1738 leaves a lot for interpretation:
>    In general, URLs are written as follows:
>        <scheme>:<scheme-specific-part>

RFC 2396 supercedes RFC 1738. Irrespective of that though the 
<scheme-specific-part> has to have at least one character in it, e.g. 
'myproto:a' is acceptable. However, it cannot be blank.

> And the authors of the smb URI draft[1] decided, that "" is a
> scheme-specific-part that is not specified but valid.

I do not see where they state that is the draft spec.

> I mean, I can live with the current situation that konqueror tells the
> user, he shouldn't use smb: (and try smb:/ instead). Before he googled for
> rather random strings, so this is an improvement.

Yes, but I also suggested how it can be further improved with the addition of 
properties to the .protocol files. Adding "ValidFormat=smb://" and 
"AcceptableFormat=smb:" to the protocol files will make it very easy for use 
to convert "smb:" to "smb://" in the short uri filter. Perhaps something to 
consider for post 3.3 release...

Dawit A.
"Preach what you practice, practice what you preach"

More information about the kde-core-devel mailing list