mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-05-07 14:44:01 +00:00
Encode config uri in order to take account of special characters like spaces.
This commit is contained in:
parent
11a8106327
commit
c5c6a328b1
1 changed files with 2 additions and 1 deletions
|
|
@ -220,7 +220,8 @@ bool CoreModel::setFetchConfig(QString filePath) {
|
|||
if (!filePath.isEmpty()) {
|
||||
if (mCore) {
|
||||
filePath.replace('\\', '/');
|
||||
fetched = mCore->setProvisioningUri(Utils::appStringToCoreString(filePath)) == 0;
|
||||
QUrl url(filePath);
|
||||
fetched = mCore->setProvisioningUri(Utils::appStringToCoreString(url.toEncoded())) == 0;
|
||||
}
|
||||
}
|
||||
if (!fetched) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue