D28880: [KWallet] Port last usage of QRegExp to QRegularExpression

Ahmad Samir noreply at phabricator.kde.org
Thu Apr 16 13:22:17 BST 2020


ahmadsamir created this revision.
ahmadsamir added reviewers: Frameworks, dfaure, blaze.
Herald added a project: Frameworks.
ahmadsamir requested review of this revision.

REVISION SUMMARY
  QRegularExpression::wildcardToRegularExpression() mainly handles file
  pattern globbing (e.g. "*.txt") which means it doesn't allow "/" in
  the file name (which is technically correct); but we have to subvert
  it because the keys in kwallet are in the form "foobar.com/<User name>"
  which does have a "/" in it. It's a hack, but it works here because
  in reality, there're no actual files/folders in kwallet, it's just
  data structures and "/" is an acceptable separator.

TEST PLAN
  - make && ctest
  - The password dialog in Falkon still wors

REPOSITORY
  R311 KWallet

BRANCH
  l-wildcard (branched from master)

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

AFFECTED FILES
  src/api/KWallet/kwallet.cpp
  src/runtime/kwalletd/backend/kwalletbackend.cc

To: ahmadsamir, #frameworks, dfaure, blaze
Cc: kde-frameworks-devel, LeGast00n, cblack, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20200416/c199e8a3/attachment-0001.html>


More information about the Kde-frameworks-devel mailing list