D27804: smb: add hack to support spaces in workgroup names

Thiago Macieira noreply at phabricator.kde.org
Wed Mar 4 15:35:18 GMT 2020


thiago added a comment.


  Still want to see that round-trip.

INLINE COMMENTS

> smburltest.cpp:112
> +        // % character - run through .url() to simulate behavior of our listDir()
> +        QCOMPARE(SMBUrl(QUrl(QUrl("smb://?kio-workgroup=HAX%MAX").url())).toSmbcUrl(),
> +                 "smb://HAX%25MAX/");

Please don't use QUrl's URL-correction in the constructor. This is not a valid URL. Use %25 here.

REPOSITORY
  R320 KIO Extras

REVISION DETAIL
  https://phabricator.kde.org/D27804

To: sitter, ngraham
Cc: kde-frameworks-devel, kfm-devel, thiago, pberestov, iasensio, fprice, LeGast00n, cblack, MrPepe, fbampaloukas, alexde, GB_2, Codezela, feverfew, meven, michaelh, spoorun, navarromorales, firef, ngraham, andrebarros, bruns, emmanuelp, mikesomov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20200304/5eacb57b/attachment.htm>


More information about the kfm-devel mailing list