We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent 4bc7402 commit a2d673fCopy full SHA for a2d673f
src/core/qgsmimedatautils.cpp
@@ -44,6 +44,7 @@ QgsMimeDataUtils::Uri::Uri( QgsLayerItem* layerItem )
44
45
QgsMimeDataUtils::Uri::Uri( QString& encData )
46
{
47
+ QgsDebugMsg( "encData: " + encData );
48
QStringList decoded = decode( encData );
49
if ( decoded.size() < 4 )
50
return;
@@ -119,6 +120,7 @@ QString QgsMimeDataUtils::encode( const QStringList& items )
119
120
foreach ( const QString& item, items )
121
122
QString str = item;
123
+ str.replace( "\\", "\\\\" );
124
str.replace( ":", "\\:" );
125
encoded += str + ":";
126
}
0 commit comments