Diffusion KIO 287093136efc

Detect incorrect paramenter in findProtocol

Authored by jtamate on Apr 15 2018, 7:38 AM.

Description

Detect incorrect paramenter in findProtocol

Summary:
Add two Q_ASSERT to detect incorrect protocols like:

  • "" (empty parameter)
  • smb:/// (the right one is smb)
  • zip:/home/user/Download/......./Encoder.php (the right one is zip)

Reviewers: Frameworks, dfaure

Reviewed By: dfaure

Tags: Frameworks

Differential Revision: https://phabricator.kde.org/D11013

Details

Committed
jtamateApr 15 2018, 7:39 AM
Reviewer
dfaure
Differential Revision
D11013: Detect incorrect paramenter in findProtocol
Parents
R241:e038cada41bd: Use text "Other Application..." in "Open With" submenu
Branches
Unknown
Tags
Unknown