Skip to content

Commit

Permalink
[wms] Fix handling of mbtiles in paths containing non-latin characters (
Browse files Browse the repository at this point in the history
fixes qgis#56023)
  • Loading branch information
nirvn committed Feb 21, 2024
1 parent f6e073f commit 36a46b4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/core/qgsdatasourceuri.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -729,7 +729,9 @@ void QgsDataSourceUri::setEncodedUri( const QByteArray &uri )

void QgsDataSourceUri::setEncodedUri( const QString &uri )
{
setEncodedUri( uri.toLatin1() );
QUrl url;
url.setQuery( uri );
setEncodedUri( url.query( QUrl::EncodeUnicode ).toLatin1() );
}

QString QgsDataSourceUri::quotedTablename() const
Expand Down

0 comments on commit 36a46b4

Please sign in to comment.