A few thoughts about KUrl

Thiago Macieira thiago at kde.org
Thu Dec 21 17:42:35 GMT 2006


Jarosław Staniek wrote:
>> Separator?
>
>An URL separator for protocol/user/port e.g. as mentioned in
>QUrl::setUserInfo() documentation.

Not an issue. The colon-separator is only allowed in the authority part of 
the URL (the one that starts with // and ends in the next /). Never will 
the path appear in the authority.

file:/c:/ ← not a separator
file:///c:/ ← not a separator
file://c:/ ← separator (and probably an invalid URL)

-- 
  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20061221/d2d16d3f/attachment.sig>


More information about the kde-core-devel mailing list