Fix receiving files with invalid URL characters
ClosedPublic

Authored by apol on Aug 9 2017, 11:29 PM.

Details

Summary

QUrl constructor assumes the string passed is already encoded so we need
to pass it through setPath and QUrl::DecodedMode.

Test Plan

sent a file with a weird character

Diff Detail

Repository
R224 KDE Connect
Branch
1.x
Lint
No Linters Available
Unit
No Unit Test Coverage
apol created this revision.Aug 9 2017, 11:29 PM
jeanv accepted this revision.Aug 10 2017, 10:58 AM

Looks good to me

This revision is now accepted and ready to land.Aug 10 2017, 10:58 AM
This revision was automatically updated to reflect the committed changes.